Changeset 204 for branches/samba-3.2.x/source/include/proto.h
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/include/proto.h
r201 r204 616 616 bool is_local_net_v4(struct in_addr from); 617 617 int iface_count(void); 618 int iface_count_v4 (void);618 int iface_count_v4_nl(void); 619 619 const struct in_addr *first_ipv4_iface(void); 620 620 struct interface *get_interface(int n); … … 1148 1148 void put_long_date_timespec(char *p, struct timespec ts); 1149 1149 void put_long_date(char *p, time_t t); 1150 time_t get_create_time(const SMB_STRUCT_STAT *st,bool fake_dirs); 1151 struct timespec get_create_timespec(const SMB_STRUCT_STAT *st,bool fake_dirs); 1150 struct timespec get_create_timespec(const SMB_STRUCT_STAT *pst,bool fake_dirs); 1152 1151 struct timespec get_atimespec(const SMB_STRUCT_STAT *pst); 1153 1152 void set_atimespec(SMB_STRUCT_STAT *pst, struct timespec ts); … … 4818 4817 bool netsamlogon_cache_init(void); 4819 4818 bool netsamlogon_cache_shutdown(void); 4820 void netsamlogon_clear_cached_user( TDB_CONTEXT *tdb,struct netr_SamInfo3 *info3);4819 void netsamlogon_clear_cached_user(struct netr_SamInfo3 *info3); 4821 4820 bool netsamlogon_cache_store(const char *username, struct netr_SamInfo3 *info3); 4822 4821 struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const DOM_SID *user_sid); … … 5119 5118 bool set_delete_on_close(files_struct *fsp, bool delete_on_close, UNIX_USER_TOKEN *tok); 5120 5119 bool set_allow_initial_delete_on_close(struct share_mode_lock *lck, files_struct *fsp, bool delete_on_close); 5121 bool set_ write_time(struct file_id fileid, struct timespec write_time,5122 bool overwrite);5120 bool set_sticky_write_time(struct file_id fileid, struct timespec write_time); 5121 bool set_write_time(struct file_id fileid, struct timespec write_time); 5123 5122 int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *, 5124 5123 const char *, void *), … … 9399 9398 bool newfile); 9400 9399 int file_ntimes(connection_struct *conn, const char *fname, const struct timespec ts[2]); 9401 bool set_write_time_path(connection_struct *conn, const char *fname, 9402 struct file_id fileid, const struct timespec mtime, 9403 bool overwrite); 9404 bool set_write_time_fsp(struct files_struct *fsp, const struct timespec mtime, 9405 bool overwrite); 9400 bool set_sticky_write_time_path(connection_struct *conn, const char *fname, 9401 struct file_id fileid, const struct timespec mtime); 9402 bool set_sticky_write_time_fsp(struct files_struct *fsp, const struct timespec mtime); 9403 bool update_write_time(struct files_struct *fsp); 9406 9404 9407 9405 /* The following definitions come from smbd/error.c */ … … 9443 9441 ssize_t read_file(files_struct *fsp,char *data,SMB_OFF_T pos,size_t n); 9444 9442 void trigger_write_time_update(struct files_struct *fsp); 9443 void trigger_write_time_update_immediate(struct files_struct *fsp); 9445 9444 ssize_t write_file(struct smb_request *req, 9446 9445 files_struct *fsp,
Note:
See TracChangeset
for help on using the changeset viewer.