diff options
Diffstat (limited to 'source/include/proto.h')
-rw-r--r-- | source/include/proto.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 7cd0088a520..020e2eba28e 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -525,10 +525,13 @@ NTSTATUS cli_samr_open_alias(struct cli_state *cli, TALLOC_CTX *mem_ctx, NTSTATUS cli_samr_query_dom_info(struct cli_state *cli, TALLOC_CTX *mem_ctx, POLICY_HND *domain_pol, uint16 switch_value, SAM_UNK_CTR *ctr); +void get_query_dispinfo_params(int loop_count, uint32 *max_entries, + uint32 *max_size); NTSTATUS cli_samr_query_dispinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, POLICY_HND *domain_pol, uint32 *start_idx, uint16 switch_value, uint32 *num_entries, - uint32 max_entries, SAM_DISPINFO_CTR *ctr); + uint32 max_entries, uint32 max_size, + SAM_DISPINFO_CTR *ctr); NTSTATUS cli_samr_lookup_rids(struct cli_state *cli, TALLOC_CTX *mem_ctx, POLICY_HND *domain_pol, uint32 flags, uint32 num_rids, uint32 *rids, @@ -3158,7 +3161,7 @@ BOOL samr_io_r_enum_dom_users(char *desc, SAMR_R_ENUM_DOM_USERS * r_u, prs_struct *ps, int depth); void init_samr_q_query_dispinfo(SAMR_Q_QUERY_DISPINFO * q_e, POLICY_HND *pol, uint16 switch_level, uint32 start_idx, - uint32 max_entries); + uint32 max_entries, uint32 max_size); BOOL samr_io_q_query_dispinfo(char *desc, SAMR_Q_QUERY_DISPINFO * q_e, prs_struct *ps, int depth); NTSTATUS init_sam_dispinfo_1(TALLOC_CTX *ctx, SAM_DISPINFO_1 *sam, uint32 num_entries, @@ -4544,7 +4547,7 @@ files_struct *open_file_fchmod(connection_struct *conn, const char *fname, SMB_S int close_file_fchmod(files_struct *fsp); files_struct *open_directory(connection_struct *conn, char *fname, SMB_STRUCT_STAT *psbuf, uint32 desired_access, int share_mode, int smb_ofun, mode_t unixmode, int *action); -BOOL check_file_sharing(connection_struct *conn,char *fname, BOOL rename_op); +files_struct *open_file_stat(connection_struct *conn, char *fname, SMB_STRUCT_STAT *psbuf); /* The following definitions come from smbd/oplock.c */ @@ -4557,7 +4560,7 @@ BOOL remove_oplock(files_struct *fsp, BOOL break_to_none); int setup_oplock_select_set( fd_set *fds); BOOL process_local_message(char *buffer, int buf_size); BOOL oplock_break_level2(files_struct *fsp, BOOL local_request, int token); -BOOL request_oplock_break(share_mode_entry *share_entry); +BOOL request_oplock_break(share_mode_entry *share_entry, BOOL async); BOOL attempt_close_oplocked_file(files_struct *fsp); void release_level_2_oplocks_on_change(files_struct *fsp); BOOL init_oplocks(void); @@ -4726,6 +4729,7 @@ void init_sec_ctx(void); int smbd_server_fd(void); void smbd_set_server_fd(int fd); BOOL reload_services(BOOL test); +int32 increment_smbd_process_count(void); void exit_server(char *reason); /* The following definitions come from smbd/service.c */ |