summaryrefslogtreecommitdiff
path: root/source3/include/libmsrpc.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
committerJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
commit30191d1a5704ad2b158386b511558972d539ce47 (patch)
tree4f46e5c4f28f672ab661aa18f45745860970a88c /source3/include/libmsrpc.h
parent789856f63ff73fec66298e95c91c60db7bdaf14e (diff)
downloadsamba-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/libmsrpc.h')
-rw-r--r--source3/include/libmsrpc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/include/libmsrpc.h b/source3/include/libmsrpc.h
index 9bbe371677..3f2a7260ca 100644
--- a/source3/include/libmsrpc.h
+++ b/source3/include/libmsrpc.h
@@ -184,7 +184,7 @@ typedef struct _CACLOOKUPRIDSRECORD {
uint32 type;
/*if the name or RID was looked up, then found = True*/
- BOOL found;
+ bool found;
} CacLookupRidsRecord;
typedef struct _CACUSERINFO {
@@ -228,7 +228,7 @@ typedef struct _CACUSERINFO {
uint16 logon_count;
/**Change password at next logon?*/
- BOOL pass_must_change;
+ bool pass_must_change;
/**Username*/
char *username;
@@ -464,7 +464,7 @@ void cac_Init(int debug);
* @return - un-initialized server handle
* - NULL if no memory could be allocated
*/
-CacServerHandle * cac_NewServerHandle(BOOL allocate_fields);
+CacServerHandle * cac_NewServerHandle(bool allocate_fields);
/**
* Specifies the smbc_get_auth_data_fn to use if you do not want to use the default.
@@ -553,7 +553,7 @@ struct LsaOpenPolicy {
uint32 access;
/**Use security quality of service? (True/False)*/
- BOOL security_qos;
+ bool security_qos;
} in;
/**Outputs*/
@@ -1238,7 +1238,7 @@ struct RegDeleteKey {
char *name;
/**delete recursively. WARNING: this might not always work as planned*/
- BOOL recursive;
+ bool recursive;
} in;
};
@@ -1576,10 +1576,10 @@ struct Shutdown {
uint32 timeout;
/**False = shutdown, True = reboot*/
- BOOL reboot;
+ bool reboot;
/**force the*/
- BOOL force;
+ bool force;
/*FIXME: make this useful*/
uint32 reason;
@@ -1776,7 +1776,7 @@ struct SamEnumUsers {
/**Array storing the names of all the users returned*/
char **names;
- BOOL done;
+ bool done;
} out;
};
@@ -2068,7 +2068,7 @@ struct SamEnumGroups {
/**Array storing the descriptions of all the groups returned*/
char **descriptions;
- BOOL done;
+ bool done;
} out;
};
@@ -2104,7 +2104,7 @@ struct SamEnumAliases {
/**Array storing the descriptions of all the groups returned*/
char **descriptions;
- BOOL done;
+ bool done;
} out;
};
@@ -2634,7 +2634,7 @@ struct SamGetDisplayInfo {
/**Internal value. Do not modify.*/
uint32 loop_count;
- BOOL done;
+ bool done;
} out;
};