|
@@ -39,11 +39,11 @@
|
|
|
#include "smb_utils.h"
|
|
|
#include "smb_dir.h"
|
|
|
|
|
|
-uint32_t smb_rm_dir(smb_session *s, smb_tid tid, const char *path)
|
|
|
+uint32_t smb_directory_rm(smb_session *s, smb_tid tid, const char *path)
|
|
|
{
|
|
|
smb_message *req_msg, resp_msg;
|
|
|
- smb_rm_dir_req req;
|
|
|
- smb_rm_dir_resp *resp;
|
|
|
+ smb_directory_rm_req req;
|
|
|
+ smb_directory_rm_resp *resp;
|
|
|
size_t utf_pattern_len;
|
|
|
char *utf_pattern;
|
|
|
|
|
@@ -85,7 +85,7 @@ uint32_t smb_rm_dir(smb_session *s, smb_tid tid, const char *path)
|
|
|
if (resp_msg.packet->header.status != NT_STATUS_SUCCESS)
|
|
|
return (resp_msg.packet->header.status);
|
|
|
|
|
|
- resp = (smb_rm_dir_resp *)resp_msg.packet->payload;
|
|
|
+ resp = (smb_directory_rm_resp *)resp_msg.packet->payload;
|
|
|
if ((resp->wct != 0) || (resp->bct != 0))
|
|
|
return DSM_ERROR_INVALID_RCV_MESS;
|
|
|
|