Changeset 232 for branches/samba-3.2.x/source/include/proto.h
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/include/proto.h
r228 r232 448 448 bool dbwrap_fetch_uint32(struct db_context *db, const char *keystr, 449 449 uint32_t *val); 450 booldbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);450 int dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v); 451 451 uint32_t dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr, 452 452 uint32_t *oldval, uint32_t change_val); … … 543 543 struct timeval *to_ret); 544 544 int event_loop_once(struct event_context *ev); 545 void event_context_reinit(struct event_context *ev); 545 546 struct event_context *event_context_init(TALLOC_CTX *mem_ctx); 546 int set_event_dispatch_time(struct event_context *event_ctx,547 const char *event_name, struct timeval when);548 int cancel_named_event(struct event_context *event_ctx,549 const char *event_name);550 547 void dump_event_list(struct event_context *event_ctx); 551 548 … … 990 987 ssize_t sys_read(int fd, void *buf, size_t count); 991 988 ssize_t sys_write(int fd, const void *buf, size_t count); 989 ssize_t sys_writev(int fd, const struct iovec *iov, int iovcnt); 992 990 ssize_t sys_pread(int fd, void *buf, size_t count, SMB_OFF_T off); 993 991 ssize_t sys_pwrite(int fd, const void *buf, size_t count, SMB_OFF_T off); … … 1247 1245 void become_daemon(bool Fork, bool no_process_group); 1248 1246 bool reinit_after_fork(struct messaging_context *msg_ctx, 1247 struct event_context *ev_ctx, 1249 1248 bool parent_longlived); 1250 1249 bool yesno(const char *p); … … 1518 1517 size_t *size_ret); 1519 1518 NTSTATUS read_data(int fd, char *buffer, size_t N); 1519 ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt); 1520 1520 ssize_t write_data(int fd, const char *buffer, size_t N); 1521 1521 bool send_keepalive(int client); … … 4645 4645 4646 4646 bool saf_store( const char *domain, const char *servername ); 4647 bool saf_join_store( const char *domain, const char *servername ); 4647 4648 bool saf_delete( const char *domain ); 4648 4649 char *saf_fetch( const char *domain ); … … 5111 5112 bool is_unused_share_mode_entry(const struct share_mode_entry *e); 5112 5113 void set_share_mode(struct share_mode_lock *lck, files_struct *fsp, 5113 uid_t uid, uint16 mid, uint16 op_type, bool initial_delete_on_close_allowed);5114 uid_t uid, uint16 mid, uint16 op_type); 5114 5115 void add_deferred_open(struct share_mode_lock *lck, uint16 mid, 5115 5116 struct timeval request_time, … … 5121 5122 NTSTATUS can_set_delete_on_close(files_struct *fsp, bool delete_on_close, 5122 5123 uint32 dosmode); 5123 bool can_set_initial_delete_on_close(const struct share_mode_lock *lck);5124 5124 void set_delete_on_close_token(struct share_mode_lock *lck, UNIX_USER_TOKEN *tok); 5125 5125 void set_delete_on_close_lck(struct share_mode_lock *lck, bool delete_on_close, UNIX_USER_TOKEN *tok); 5126 5126 bool set_delete_on_close(files_struct *fsp, bool delete_on_close, UNIX_USER_TOKEN *tok); 5127 bool set_allow_initial_delete_on_close(struct share_mode_lock *lck, files_struct *fsp, bool delete_on_close);5128 5127 bool set_sticky_write_time(struct file_id fileid, struct timespec write_time); 5129 5128 bool set_write_time(struct file_id fileid, struct timespec write_time); … … 6568 6567 6569 6568 NTSTATUS print_fsp_open(connection_struct *conn, const char *fname, 6570 files_struct *fsp );6569 files_struct *fsp, SMB_STRUCT_STAT *psbuf); 6571 6570 void print_fsp_end(files_struct *fsp, enum file_close_type close_type); 6572 6571
Note:
See TracChangeset
for help on using the changeset viewer.