diff options
author | Jeremy Allison <jra@samba.org> | 1998-08-31 20:20:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-08-31 20:20:54 +0000 |
commit | 693480af8bb2d3e83566af9463ca427f47a879da (patch) | |
tree | cb7070685621c8b4ffd651c8108e1450bf3272d9 /source3/include/proto.h | |
parent | d2e0d0f73bfce64665feb386e2cc4032258ad437 (diff) | |
download | samba-693480af8bb2d3e83566af9463ca427f47a879da.tar.gz samba-693480af8bb2d3e83566af9463ca427f47a879da.tar.bz2 samba-693480af8bb2d3e83566af9463ca427f47a879da.zip |
configure.in, configure: include/config.h.in: Added stropts and poll.
include/smb.h: Moved old typedefs of uint8 etc. into include/includes.h where
all the other defines live (changed them from typedefs to
defines).
Other changes : changed from using uint32 to SMB_DEV_T and SMB_INO_T
in preparation for moving to size independed (ie. 64 bit clean) device
and inode access. Stat call wrapper comes next :-).
Jeremy.
(This used to be commit 3d9ec96de5e04e83abafe9c5d980bd39eee856ea)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 8ee95483c5..3bc2a132a0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -498,11 +498,11 @@ BOOL do_unlock(files_struct *fsp,connection_struct *conn, BOOL locking_init(int read_only); BOOL locking_end(void); BOOL lock_share_entry(connection_struct *conn, - uint32 dev, uint32 inode, int *ptok); + SMB_DEV_T dev, SMB_INO_T inode, int *ptok); BOOL unlock_share_entry(connection_struct *conn, - uint32 dev, uint32 inode, int token); + SMB_DEV_T dev, SMB_INO_T inode, int token); int get_share_modes(connection_struct *conn, - int token, uint32 dev, uint32 inode, + int token, SMB_DEV_T dev, SMB_INO_T inode, share_mode_entry **shares); void del_share_mode(int token, files_struct *fsp); BOOL set_share_mode(int token, files_struct *fsp, uint16 port, uint16 op_type); @@ -2027,7 +2027,7 @@ file_fd_struct *fd_get_new(void); void file_close_conn(connection_struct *conn); void file_init(void); void file_close_user(int vuid); -files_struct *file_find_dit(int dev, int inode, struct timeval *tval); +files_struct *file_find_dit(SMB_DEV_T dev, SMB_INO_T inode, struct timeval *tval); files_struct *file_find_print(void); void file_sync_all(connection_struct *conn); void file_free(files_struct *fsp); @@ -2102,9 +2102,9 @@ int check_share_mode( share_mode_entry *share, int deny_mode, char *fname, BOOL open_oplock_ipc(void); BOOL process_local_message(int sock, char *buffer, int buf_size); -BOOL oplock_break(uint32 dev, uint32 inode, struct timeval *tval); +BOOL oplock_break(SMB_DEV_T dev, SMB_INO_T inode, struct timeval *tval); BOOL request_oplock_break(share_mode_entry *share_entry, - uint32 dev, uint32 inode); + SMB_DEV_T dev, SMB_INO_T inode); BOOL attempt_close_oplocked_file(files_struct *fsp); /*The following definitions come from smbd/password.c */ |