Fix the callers.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
struct tevent_context *ev,
struct cli_state *cli,
const char *fname,
- uint16_t mayhave_attrs)
+ uint32_t mayhave_attrs)
{
struct tevent_req *req = NULL, *subreq = NULL;
struct cli_unlink_state *state = NULL;
return tevent_req_simple_recv_ntstatus(req);
}
-NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint16_t mayhave_attrs)
+NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint32_t mayhave_attrs)
{
TALLOC_CTX *frame = NULL;
struct tevent_context *ev;
struct tevent_context *ev,
struct cli_state *cli,
const char *fname,
- uint16_t mayhave_attrs);
+ uint32_t mayhave_attrs);
NTSTATUS cli_unlink_recv(struct tevent_req *req);
-NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint16_t mayhave_attrs);
+NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint32_t mayhave_attrs);
struct tevent_req *cli_mkdir_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
static NTSTATUS unlink_file(struct py_cli_state *self, const char *filename)
{
NTSTATUS status;
- uint16_t attrs = (FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
+ uint32_t attrs = (FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
struct tevent_req *req = NULL;
req = cli_unlink_send(