summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_winreg.c
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/librpc/gen_ndr/srv_winreg.c
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/librpc/gen_ndr/srv_winreg.c')
-rw-r--r--source3/librpc/gen_ndr/srv_winreg.c70
1 files changed, 35 insertions, 35 deletions
diff --git a/source3/librpc/gen_ndr/srv_winreg.c b/source3/librpc/gen_ndr/srv_winreg.c
index c947de4837..86b5305644 100644
--- a/source3/librpc/gen_ndr/srv_winreg.c
+++ b/source3/librpc/gen_ndr/srv_winreg.c
@@ -6,7 +6,7 @@
#include "includes.h"
#include "librpc/gen_ndr/srv_winreg.h"
-static BOOL api_winreg_OpenHKCR(pipes_struct *p)
+static bool api_winreg_OpenHKCR(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -84,7 +84,7 @@ static BOOL api_winreg_OpenHKCR(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKCU(pipes_struct *p)
+static bool api_winreg_OpenHKCU(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -162,7 +162,7 @@ static BOOL api_winreg_OpenHKCU(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKLM(pipes_struct *p)
+static bool api_winreg_OpenHKLM(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -240,7 +240,7 @@ static BOOL api_winreg_OpenHKLM(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKPD(pipes_struct *p)
+static bool api_winreg_OpenHKPD(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -318,7 +318,7 @@ static BOOL api_winreg_OpenHKPD(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKU(pipes_struct *p)
+static bool api_winreg_OpenHKU(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -396,7 +396,7 @@ static BOOL api_winreg_OpenHKU(pipes_struct *p)
return True;
}
-static BOOL api_winreg_CloseKey(pipes_struct *p)
+static bool api_winreg_CloseKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -469,7 +469,7 @@ static BOOL api_winreg_CloseKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_CreateKey(pipes_struct *p)
+static bool api_winreg_CreateKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -548,7 +548,7 @@ static BOOL api_winreg_CreateKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_DeleteKey(pipes_struct *p)
+static bool api_winreg_DeleteKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -619,7 +619,7 @@ static BOOL api_winreg_DeleteKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_DeleteValue(pipes_struct *p)
+static bool api_winreg_DeleteValue(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -690,7 +690,7 @@ static BOOL api_winreg_DeleteValue(pipes_struct *p)
return True;
}
-static BOOL api_winreg_EnumKey(pipes_struct *p)
+static bool api_winreg_EnumKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -765,7 +765,7 @@ static BOOL api_winreg_EnumKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_EnumValue(pipes_struct *p)
+static bool api_winreg_EnumValue(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -842,7 +842,7 @@ static BOOL api_winreg_EnumValue(pipes_struct *p)
return True;
}
-static BOOL api_winreg_FlushKey(pipes_struct *p)
+static bool api_winreg_FlushKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -913,7 +913,7 @@ static BOOL api_winreg_FlushKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_GetKeySecurity(pipes_struct *p)
+static bool api_winreg_GetKeySecurity(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -986,7 +986,7 @@ static BOOL api_winreg_GetKeySecurity(pipes_struct *p)
return True;
}
-static BOOL api_winreg_LoadKey(pipes_struct *p)
+static bool api_winreg_LoadKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1057,7 +1057,7 @@ static BOOL api_winreg_LoadKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_NotifyChangeKeyValue(pipes_struct *p)
+static bool api_winreg_NotifyChangeKeyValue(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1128,7 +1128,7 @@ static BOOL api_winreg_NotifyChangeKeyValue(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenKey(pipes_struct *p)
+static bool api_winreg_OpenKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1206,7 +1206,7 @@ static BOOL api_winreg_OpenKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_QueryInfoKey(pipes_struct *p)
+static bool api_winreg_QueryInfoKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1327,7 +1327,7 @@ static BOOL api_winreg_QueryInfoKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_QueryValue(pipes_struct *p)
+static bool api_winreg_QueryValue(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1403,7 +1403,7 @@ static BOOL api_winreg_QueryValue(pipes_struct *p)
return True;
}
-static BOOL api_winreg_ReplaceKey(pipes_struct *p)
+static bool api_winreg_ReplaceKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1474,7 +1474,7 @@ static BOOL api_winreg_ReplaceKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_RestoreKey(pipes_struct *p)
+static bool api_winreg_RestoreKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1545,7 +1545,7 @@ static BOOL api_winreg_RestoreKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_SaveKey(pipes_struct *p)
+static bool api_winreg_SaveKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1616,7 +1616,7 @@ static BOOL api_winreg_SaveKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_SetKeySecurity(pipes_struct *p)
+static bool api_winreg_SetKeySecurity(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1687,7 +1687,7 @@ static BOOL api_winreg_SetKeySecurity(pipes_struct *p)
return True;
}
-static BOOL api_winreg_SetValue(pipes_struct *p)
+static bool api_winreg_SetValue(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1758,7 +1758,7 @@ static BOOL api_winreg_SetValue(pipes_struct *p)
return True;
}
-static BOOL api_winreg_UnLoadKey(pipes_struct *p)
+static bool api_winreg_UnLoadKey(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1829,7 +1829,7 @@ static BOOL api_winreg_UnLoadKey(pipes_struct *p)
return True;
}
-static BOOL api_winreg_InitiateSystemShutdown(pipes_struct *p)
+static bool api_winreg_InitiateSystemShutdown(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1900,7 +1900,7 @@ static BOOL api_winreg_InitiateSystemShutdown(pipes_struct *p)
return True;
}
-static BOOL api_winreg_AbortSystemShutdown(pipes_struct *p)
+static bool api_winreg_AbortSystemShutdown(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -1971,7 +1971,7 @@ static BOOL api_winreg_AbortSystemShutdown(pipes_struct *p)
return True;
}
-static BOOL api_winreg_GetVersion(pipes_struct *p)
+static bool api_winreg_GetVersion(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2049,7 +2049,7 @@ static BOOL api_winreg_GetVersion(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKCC(pipes_struct *p)
+static bool api_winreg_OpenHKCC(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2127,7 +2127,7 @@ static BOOL api_winreg_OpenHKCC(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKDD(pipes_struct *p)
+static bool api_winreg_OpenHKDD(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2205,7 +2205,7 @@ static BOOL api_winreg_OpenHKDD(pipes_struct *p)
return True;
}
-static BOOL api_winreg_QueryMultipleValues(pipes_struct *p)
+static bool api_winreg_QueryMultipleValues(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2280,7 +2280,7 @@ static BOOL api_winreg_QueryMultipleValues(pipes_struct *p)
return True;
}
-static BOOL api_winreg_InitiateSystemShutdownEx(pipes_struct *p)
+static bool api_winreg_InitiateSystemShutdownEx(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2351,7 +2351,7 @@ static BOOL api_winreg_InitiateSystemShutdownEx(pipes_struct *p)
return True;
}
-static BOOL api_winreg_SaveKeyEx(pipes_struct *p)
+static bool api_winreg_SaveKeyEx(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2422,7 +2422,7 @@ static BOOL api_winreg_SaveKeyEx(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKPT(pipes_struct *p)
+static bool api_winreg_OpenHKPT(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2500,7 +2500,7 @@ static BOOL api_winreg_OpenHKPT(pipes_struct *p)
return True;
}
-static BOOL api_winreg_OpenHKPN(pipes_struct *p)
+static bool api_winreg_OpenHKPN(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;
@@ -2578,7 +2578,7 @@ static BOOL api_winreg_OpenHKPN(pipes_struct *p)
return True;
}
-static BOOL api_winreg_QueryMultipleValues2(pipes_struct *p)
+static bool api_winreg_QueryMultipleValues2(pipes_struct *p)
{
const struct ndr_interface_call *call;
struct ndr_pull *pull;