diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/trans2.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 5993e1d67b..2cd8cfe2a8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -238,6 +238,7 @@ BOOL lp_map_system(int ); BOOL lp_delete_readonly(int ); BOOL lp_fake_oplocks(int ); int lp_create_mode(int ); +int lp_dir_mode(int ); int lp_max_connections(int ); int lp_defaultcase(int ); int lp_minprintspace(int ); @@ -762,6 +763,7 @@ int sys_rename(char *from, char *to); int sys_chmod(char *fname,int mode); int sys_chown(char *fname,int uid,int gid); int sys_chroot(char *dname); +struct hostent *sys_gethostbyname(char *name); /*The following definitions come from testparm.c */ diff --git a/source3/include/trans2.h b/source3/include/trans2.h index cc366ccaea..b99f1e6028 100644 --- a/source3/include/trans2.h +++ b/source3/include/trans2.h @@ -228,6 +228,11 @@ Byte offset Type name description #define DIRLEN_GUESS (45+MAX(l1_achName,l2_achName)) +/* NT uses a FILE_ATTRIBUTE_NORMAL when no other attributes + are set. */ + +#define NT_FILE_ATTRIBUTE_NORMAL 0x80 + /* Function prototypes */ |