diff options
author | Richard Sharpe <rsharpe@samba.org> | 2015-05-02 21:01:14 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-05-06 04:14:14 +0200 |
commit | 6abd986704291b051af5eeb67f670a0e8cf845fd (patch) | |
tree | 072b07506cf9f6e94aefb7f628d56534a839e12f /source3/smbd/notify.c | |
parent | e60cc280d6ba824c53bb91a29b5b24e177eec823 (diff) | |
download | samba-6abd986704291b051af5eeb67f670a0e8cf845fd.tar.gz |
Convert all uses of uint8/16/32 to _t in source3/smbd.
Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r-- | source3/smbd/notify.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 8cb44df3c1d..3f2d07cf667 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -55,8 +55,8 @@ struct notify_change_request { struct notify_change_request *prev, *next; struct files_struct *fsp; /* backpointer for cancel by mid */ struct smb_request *req; - uint32 filter; - uint32 max_param; + uint32_t filter; + uint32_t max_param; void (*reply_fn)(struct smb_request *req, NTSTATUS error_code, uint8_t *buf, size_t len); @@ -65,7 +65,7 @@ struct notify_change_request { }; static void notify_fsp(files_struct *fsp, struct timespec when, - uint32 action, const char *name); + uint32_t action, const char *name); bool change_notify_fsp_has_changes(struct files_struct *fsp) { @@ -115,7 +115,7 @@ static int compare_notify_change_events(const void *p1, const void *p2) } static bool notify_marshall_changes(int num_changes, - uint32 max_offset, + uint32_t max_offset, struct notify_change_event *changes, DATA_BLOB *final_blob) { @@ -245,7 +245,7 @@ static void sys_notify_callback(struct sys_notify_context *ctx, notify_fsp(fsp, timespec_current(), e->action, e->path); } -NTSTATUS change_notify_create(struct files_struct *fsp, uint32 filter, +NTSTATUS change_notify_create(struct files_struct *fsp, uint32_t filter, bool recursive) { char *fullpath; @@ -307,8 +307,8 @@ NTSTATUS change_notify_create(struct files_struct *fsp, uint32 filter, } NTSTATUS change_notify_add_request(struct smb_request *req, - uint32 max_param, - uint32 filter, bool recursive, + uint32_t max_param, + uint32_t filter, bool recursive, struct files_struct *fsp, void (*reply_fn)(struct smb_request *req, NTSTATUS error_code, @@ -481,7 +481,7 @@ void remove_pending_change_notify_requests_by_fid(files_struct *fsp, } } -void notify_fname(connection_struct *conn, uint32 action, uint32 filter, +void notify_fname(connection_struct *conn, uint32_t action, uint32_t filter, const char *path) { struct notify_context *notify_ctx = conn->sconn->notify_ctx; @@ -494,7 +494,7 @@ void notify_fname(connection_struct *conn, uint32 action, uint32 filter, } static void notify_fsp(files_struct *fsp, struct timespec when, - uint32 action, const char *name) + uint32_t action, const char *name) { struct notify_change_event *change, *changes; char *tmp; @@ -594,7 +594,7 @@ static void notify_fsp(files_struct *fsp, struct timespec when, change_notify_remove_request(fsp->conn->sconn, fsp->notify->requests); } -char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32 filter) +char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32_t filter) { char *result = NULL; |