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/client.h | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz samba-30191d1a5704ad2b158386b511558972d539ce47.tar.xz 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/client.h')
-rw-r--r-- | source3/include/client.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 5165b85df11..597348d1624 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -128,10 +128,10 @@ struct cli_state { unsigned int bufsize; int initialised; int win95; - BOOL is_samba; + bool is_samba; uint32 capabilities; uint32 posix_capabilities; - BOOL dfsroot; + bool dfsroot; TALLOC_CTX *mem_ctx; @@ -144,18 +144,18 @@ struct cli_state { /* The list of pipes currently open on this connection. */ struct rpc_pipe_client *pipe_list; - BOOL use_kerberos; - BOOL fallback_after_kerberos; - BOOL use_spnego; + bool use_kerberos; + bool fallback_after_kerberos; + bool use_spnego; - BOOL use_oplocks; /* should we use oplocks? */ - BOOL use_level_II_oplocks; /* should we use level II oplocks? */ + bool use_oplocks; /* should we use oplocks? */ + bool use_level_II_oplocks; /* should we use level II oplocks? */ /* a oplock break request handler */ - BOOL (*oplock_handler)(struct cli_state *cli, int fnum, unsigned char level); + bool (*oplock_handler)(struct cli_state *cli, int fnum, unsigned char level); - BOOL force_dos_errors; - BOOL case_sensitive; /* False by default. */ + bool force_dos_errors; + bool case_sensitive; /* False by default. */ }; typedef struct file_info { |