From 30191d1a5704ad2b158386b511558972d539ce47 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Oct 2007 17:40:25 -0700 Subject: 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) --- source3/include/client.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source3/include/client.h') diff --git a/source3/include/client.h b/source3/include/client.h index 5165b85df1..597348d162 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 { -- cgit