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/librpc/gen_ndr/srv_dfs.c | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-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_dfs.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_dfs.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/source3/librpc/gen_ndr/srv_dfs.c b/source3/librpc/gen_ndr/srv_dfs.c index 82cb5c8d9a..596449badc 100644 --- a/source3/librpc/gen_ndr/srv_dfs.c +++ b/source3/librpc/gen_ndr/srv_dfs.c @@ -6,7 +6,7 @@ #include "includes.h" #include "librpc/gen_ndr/srv_dfs.h" -static BOOL api_dfs_GetManagerVersion(pipes_struct *p) +static bool api_dfs_GetManagerVersion(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -84,7 +84,7 @@ static BOOL api_dfs_GetManagerVersion(pipes_struct *p) return True; } -static BOOL api_dfs_Add(pipes_struct *p) +static bool api_dfs_Add(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -155,7 +155,7 @@ static BOOL api_dfs_Add(pipes_struct *p) return True; } -static BOOL api_dfs_Remove(pipes_struct *p) +static bool api_dfs_Remove(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -226,7 +226,7 @@ static BOOL api_dfs_Remove(pipes_struct *p) return True; } -static BOOL api_dfs_SetInfo(pipes_struct *p) +static bool api_dfs_SetInfo(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -297,7 +297,7 @@ static BOOL api_dfs_SetInfo(pipes_struct *p) return True; } -static BOOL api_dfs_GetInfo(pipes_struct *p) +static bool api_dfs_GetInfo(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -375,7 +375,7 @@ static BOOL api_dfs_GetInfo(pipes_struct *p) return True; } -static BOOL api_dfs_Enum(pipes_struct *p) +static bool api_dfs_Enum(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -449,7 +449,7 @@ static BOOL api_dfs_Enum(pipes_struct *p) return True; } -static BOOL api_dfs_Rename(pipes_struct *p) +static bool api_dfs_Rename(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -520,7 +520,7 @@ static BOOL api_dfs_Rename(pipes_struct *p) return True; } -static BOOL api_dfs_Move(pipes_struct *p) +static bool api_dfs_Move(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -591,7 +591,7 @@ static BOOL api_dfs_Move(pipes_struct *p) return True; } -static BOOL api_dfs_ManagerGetConfigInfo(pipes_struct *p) +static bool api_dfs_ManagerGetConfigInfo(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -662,7 +662,7 @@ static BOOL api_dfs_ManagerGetConfigInfo(pipes_struct *p) return True; } -static BOOL api_dfs_ManagerSendSiteInfo(pipes_struct *p) +static bool api_dfs_ManagerSendSiteInfo(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -733,7 +733,7 @@ static BOOL api_dfs_ManagerSendSiteInfo(pipes_struct *p) return True; } -static BOOL api_dfs_AddFtRoot(pipes_struct *p) +static bool api_dfs_AddFtRoot(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -806,7 +806,7 @@ static BOOL api_dfs_AddFtRoot(pipes_struct *p) return True; } -static BOOL api_dfs_RemoveFtRoot(pipes_struct *p) +static bool api_dfs_RemoveFtRoot(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -879,7 +879,7 @@ static BOOL api_dfs_RemoveFtRoot(pipes_struct *p) return True; } -static BOOL api_dfs_AddStdRoot(pipes_struct *p) +static bool api_dfs_AddStdRoot(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -950,7 +950,7 @@ static BOOL api_dfs_AddStdRoot(pipes_struct *p) return True; } -static BOOL api_dfs_RemoveStdRoot(pipes_struct *p) +static bool api_dfs_RemoveStdRoot(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1021,7 +1021,7 @@ static BOOL api_dfs_RemoveStdRoot(pipes_struct *p) return True; } -static BOOL api_dfs_ManagerInitialize(pipes_struct *p) +static bool api_dfs_ManagerInitialize(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1092,7 +1092,7 @@ static BOOL api_dfs_ManagerInitialize(pipes_struct *p) return True; } -static BOOL api_dfs_AddStdRootForced(pipes_struct *p) +static bool api_dfs_AddStdRootForced(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1163,7 +1163,7 @@ static BOOL api_dfs_AddStdRootForced(pipes_struct *p) return True; } -static BOOL api_dfs_GetDcAddress(pipes_struct *p) +static bool api_dfs_GetDcAddress(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1234,7 +1234,7 @@ static BOOL api_dfs_GetDcAddress(pipes_struct *p) return True; } -static BOOL api_dfs_SetDcAddress(pipes_struct *p) +static bool api_dfs_SetDcAddress(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1305,7 +1305,7 @@ static BOOL api_dfs_SetDcAddress(pipes_struct *p) return True; } -static BOOL api_dfs_FlushFtTable(pipes_struct *p) +static bool api_dfs_FlushFtTable(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1376,7 +1376,7 @@ static BOOL api_dfs_FlushFtTable(pipes_struct *p) return True; } -static BOOL api_dfs_Add2(pipes_struct *p) +static bool api_dfs_Add2(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1447,7 +1447,7 @@ static BOOL api_dfs_Add2(pipes_struct *p) return True; } -static BOOL api_dfs_Remove2(pipes_struct *p) +static bool api_dfs_Remove2(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1518,7 +1518,7 @@ static BOOL api_dfs_Remove2(pipes_struct *p) return True; } -static BOOL api_dfs_EnumEx(pipes_struct *p) +static bool api_dfs_EnumEx(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1592,7 +1592,7 @@ static BOOL api_dfs_EnumEx(pipes_struct *p) return True; } -static BOOL api_dfs_SetInfo2(pipes_struct *p) +static bool api_dfs_SetInfo2(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; |