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/librpc/gen_ndr/srv_eventlog.c | 48 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'source3/librpc/gen_ndr/srv_eventlog.c') diff --git a/source3/librpc/gen_ndr/srv_eventlog.c b/source3/librpc/gen_ndr/srv_eventlog.c index d58753511a..13810d4d74 100644 --- a/source3/librpc/gen_ndr/srv_eventlog.c +++ b/source3/librpc/gen_ndr/srv_eventlog.c @@ -6,7 +6,7 @@ #include "includes.h" #include "librpc/gen_ndr/srv_eventlog.h" -static BOOL api_eventlog_ClearEventLogW(pipes_struct *p) +static bool api_eventlog_ClearEventLogW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -77,7 +77,7 @@ static BOOL api_eventlog_ClearEventLogW(pipes_struct *p) return True; } -static BOOL api_eventlog_BackupEventLogW(pipes_struct *p) +static bool api_eventlog_BackupEventLogW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -148,7 +148,7 @@ static BOOL api_eventlog_BackupEventLogW(pipes_struct *p) return True; } -static BOOL api_eventlog_CloseEventLog(pipes_struct *p) +static bool api_eventlog_CloseEventLog(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -221,7 +221,7 @@ static BOOL api_eventlog_CloseEventLog(pipes_struct *p) return True; } -static BOOL api_eventlog_DeregisterEventSource(pipes_struct *p) +static bool api_eventlog_DeregisterEventSource(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -292,7 +292,7 @@ static BOOL api_eventlog_DeregisterEventSource(pipes_struct *p) return True; } -static BOOL api_eventlog_GetNumRecords(pipes_struct *p) +static bool api_eventlog_GetNumRecords(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -370,7 +370,7 @@ static BOOL api_eventlog_GetNumRecords(pipes_struct *p) return True; } -static BOOL api_eventlog_GetOldestRecord(pipes_struct *p) +static bool api_eventlog_GetOldestRecord(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -441,7 +441,7 @@ static BOOL api_eventlog_GetOldestRecord(pipes_struct *p) return True; } -static BOOL api_eventlog_ChangeNotify(pipes_struct *p) +static bool api_eventlog_ChangeNotify(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -512,7 +512,7 @@ static BOOL api_eventlog_ChangeNotify(pipes_struct *p) return True; } -static BOOL api_eventlog_OpenEventLogW(pipes_struct *p) +static bool api_eventlog_OpenEventLogW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -590,7 +590,7 @@ static BOOL api_eventlog_OpenEventLogW(pipes_struct *p) return True; } -static BOOL api_eventlog_RegisterEventSourceW(pipes_struct *p) +static bool api_eventlog_RegisterEventSourceW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -661,7 +661,7 @@ static BOOL api_eventlog_RegisterEventSourceW(pipes_struct *p) return True; } -static BOOL api_eventlog_OpenBackupEventLogW(pipes_struct *p) +static bool api_eventlog_OpenBackupEventLogW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -732,7 +732,7 @@ static BOOL api_eventlog_OpenBackupEventLogW(pipes_struct *p) return True; } -static BOOL api_eventlog_ReadEventLogW(pipes_struct *p) +static bool api_eventlog_ReadEventLogW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -822,7 +822,7 @@ static BOOL api_eventlog_ReadEventLogW(pipes_struct *p) return True; } -static BOOL api_eventlog_ReportEventW(pipes_struct *p) +static bool api_eventlog_ReportEventW(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -893,7 +893,7 @@ static BOOL api_eventlog_ReportEventW(pipes_struct *p) return True; } -static BOOL api_eventlog_ClearEventLogA(pipes_struct *p) +static bool api_eventlog_ClearEventLogA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -964,7 +964,7 @@ static BOOL api_eventlog_ClearEventLogA(pipes_struct *p) return True; } -static BOOL api_eventlog_BackupEventLogA(pipes_struct *p) +static bool api_eventlog_BackupEventLogA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1035,7 +1035,7 @@ static BOOL api_eventlog_BackupEventLogA(pipes_struct *p) return True; } -static BOOL api_eventlog_OpenEventLogA(pipes_struct *p) +static bool api_eventlog_OpenEventLogA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1106,7 +1106,7 @@ static BOOL api_eventlog_OpenEventLogA(pipes_struct *p) return True; } -static BOOL api_eventlog_RegisterEventSourceA(pipes_struct *p) +static bool api_eventlog_RegisterEventSourceA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1177,7 +1177,7 @@ static BOOL api_eventlog_RegisterEventSourceA(pipes_struct *p) return True; } -static BOOL api_eventlog_OpenBackupEventLogA(pipes_struct *p) +static bool api_eventlog_OpenBackupEventLogA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1248,7 +1248,7 @@ static BOOL api_eventlog_OpenBackupEventLogA(pipes_struct *p) return True; } -static BOOL api_eventlog_ReadEventLogA(pipes_struct *p) +static bool api_eventlog_ReadEventLogA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1319,7 +1319,7 @@ static BOOL api_eventlog_ReadEventLogA(pipes_struct *p) return True; } -static BOOL api_eventlog_ReportEventA(pipes_struct *p) +static bool api_eventlog_ReportEventA(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1390,7 +1390,7 @@ static BOOL api_eventlog_ReportEventA(pipes_struct *p) return True; } -static BOOL api_eventlog_RegisterClusterSvc(pipes_struct *p) +static bool api_eventlog_RegisterClusterSvc(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1461,7 +1461,7 @@ static BOOL api_eventlog_RegisterClusterSvc(pipes_struct *p) return True; } -static BOOL api_eventlog_DeregisterClusterSvc(pipes_struct *p) +static bool api_eventlog_DeregisterClusterSvc(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1532,7 +1532,7 @@ static BOOL api_eventlog_DeregisterClusterSvc(pipes_struct *p) return True; } -static BOOL api_eventlog_WriteClusterEvents(pipes_struct *p) +static bool api_eventlog_WriteClusterEvents(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1603,7 +1603,7 @@ static BOOL api_eventlog_WriteClusterEvents(pipes_struct *p) return True; } -static BOOL api_eventlog_GetLogIntormation(pipes_struct *p) +static bool api_eventlog_GetLogIntormation(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; @@ -1674,7 +1674,7 @@ static BOOL api_eventlog_GetLogIntormation(pipes_struct *p) return True; } -static BOOL api_eventlog_FlushEventLog(pipes_struct *p) +static bool api_eventlog_FlushEventLog(pipes_struct *p) { const struct ndr_interface_call *call; struct ndr_pull *pull; -- cgit