RIP BOOL. Convert BOOL -> bool. I found a few interesting
[samba.git] / source3 / librpc / gen_ndr / srv_eventlog.c
index d58753511ae2946d21b62ce7870fb3a3c10d8f73..13810d4d7470c9294a9cb93a9f5a04cd754d1e34 100644 (file)
@@ -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;