RIP BOOL. Convert BOOL -> bool. I found a few interesting
[jerry/samba.git] / source / include / auth.h
index a58d150c51dd40c3b97986b4c88e94e8e6258e6d..a7531b35cd9c267ff41e5d7a4180181c44289e3e 100644 (file)
@@ -26,9 +26,9 @@ typedef struct auth_usersupplied_info {
        DATA_BLOB nt_interactive_pwd;
        DATA_BLOB plaintext_password;
        
-       BOOL encrypted;
+       bool encrypted;
        
-       BOOL was_mapped;              /* Did the username map actually match? */
+       bool was_mapped;              /* Did the username map actually match? */
        char *client_domain;          /* domain name string */
        char *domain;                 /* domain name after mapping */
        char *internal_username;      /* username after mapping */
@@ -41,7 +41,7 @@ typedef struct auth_usersupplied_info {
 } auth_usersupplied_info;
 
 typedef struct auth_serversupplied_info {
-       BOOL guest;
+       bool guest;
 
        DOM_SID *sids;  /* These SIDs are preliminary between
                           check_ntlm_password and the token creation. */
@@ -67,7 +67,7 @@ typedef struct auth_serversupplied_info {
        
        void *pam_handle;
 
-       BOOL was_mapped;        /* Did the username map match? */
+       bool was_mapped;        /* Did the username map match? */
        char *unix_name;
        
 } auth_serversupplied_info;
@@ -78,7 +78,7 @@ struct auth_context {
        /* Who set this up in the first place? */ 
        const char *challenge_set_by; 
 
-       BOOL challenge_may_be_modified;
+       bool challenge_may_be_modified;
 
        struct auth_methods *challenge_set_method; 
        /* What order are the various methods in?   Try to stop it changing under us */