diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | 30191d1a5704ad2b158386b511558972d539ce47 (patch) | |
tree | 4f46e5c4f28f672ab661aa18f45745860970a88c /source3/include/libsmb_internal.h | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz samba-30191d1a5704ad2b158386b511558972d539ce47.tar.bz2 samba-30191d1a5704ad2b158386b511558972d539ce47.zip |
RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
Diffstat (limited to 'source3/include/libsmb_internal.h')
-rw-r--r-- | source3/include/libsmb_internal.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index 41f72d5fb3..19a3edc9bf 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -12,9 +12,9 @@ struct _SMBCSRV { struct cli_state *cli; dev_t dev; - BOOL no_pathinfo; - BOOL no_pathinfo2; - BOOL no_nt_session; + bool no_pathinfo; + bool no_pathinfo2; + bool no_nt_session; SMBCSRV *next, *prev; @@ -37,7 +37,7 @@ struct _SMBCFILE { char *fname; SMB_OFF_T offset; struct _SMBCSRV *srv; - BOOL file; + bool file; struct smbc_dir_list *dir_list, *dir_end, *dir_next; int dir_type, dir_error; @@ -50,7 +50,7 @@ struct smbc_internal_data { /* * Is this handle initialized ? */ - BOOL _initialized; + bool _initialized; /* dirent pointer location * @@ -78,7 +78,7 @@ struct smbc_internal_data { /* * Log to standard error instead of the more typical standard output */ - BOOL _debug_stderr; + bool _debug_stderr; /* * Support "Create Time" in get/set with the *xattr() functions, if @@ -87,7 +87,7 @@ struct smbc_internal_data { * CREATE_TIME. Default is FALSE, i.e. to use the old-style shorter * names and to not support CREATE time, for backward compatibility. */ - BOOL _full_time_names; + bool _full_time_names; /* * The share mode of a file being opened. To match POSIX semantics |