RIP BOOL. Convert BOOL -> bool. I found a few interesting
[samba.git] / source3 / libsmb / clioplock.c
index 387c40b401c987f3bb1b4a1fd039f77265e5e488..effd4a5565aed10530565d376b51b1ffdcb94f41 100644 (file)
 /****************************************************************************
 send an ack for an oplock break request
 ****************************************************************************/
-BOOL cli_oplock_ack(struct cli_state *cli, int fnum, unsigned char level)
+bool cli_oplock_ack(struct cli_state *cli, int fnum, unsigned char level)
 {
        char *oldbuf = cli->outbuf;
        pstring buf;
-       BOOL ret;
+       bool ret;
 
        cli->outbuf = buf;
 
@@ -59,7 +59,7 @@ BOOL cli_oplock_ack(struct cli_state *cli, int fnum, unsigned char level)
 set the oplock handler for a connection
 ****************************************************************************/
 void cli_oplock_handler(struct cli_state *cli, 
-                       BOOL (*handler)(struct cli_state *, int, unsigned char))
+                       bool (*handler)(struct cli_state *, int, unsigned char))
 {
        cli->oplock_handler = handler;
 }