summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_ntsvcs.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/rpc_server/srv_ntsvcs.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/rpc_server/srv_ntsvcs.c')
-rw-r--r--source3/rpc_server/srv_ntsvcs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/rpc_server/srv_ntsvcs.c b/source3/rpc_server/srv_ntsvcs.c
index 9d4c02500f..b3e93ac459 100644
--- a/source3/rpc_server/srv_ntsvcs.c
+++ b/source3/rpc_server/srv_ntsvcs.c
@@ -25,7 +25,7 @@
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_get_version(pipes_struct *p)
+static bool api_ntsvcs_get_version(pipes_struct *p)
{
NTSVCS_Q_GET_VERSION q_u;
NTSVCS_R_GET_VERSION r_u;
@@ -49,7 +49,7 @@ static BOOL api_ntsvcs_get_version(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_get_device_list_size(pipes_struct *p)
+static bool api_ntsvcs_get_device_list_size(pipes_struct *p)
{
NTSVCS_Q_GET_DEVICE_LIST_SIZE q_u;
NTSVCS_R_GET_DEVICE_LIST_SIZE r_u;
@@ -73,7 +73,7 @@ static BOOL api_ntsvcs_get_device_list_size(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_get_device_list(pipes_struct *p)
+static bool api_ntsvcs_get_device_list(pipes_struct *p)
{
NTSVCS_Q_GET_DEVICE_LIST q_u;
NTSVCS_R_GET_DEVICE_LIST r_u;
@@ -97,7 +97,7 @@ static BOOL api_ntsvcs_get_device_list(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_validate_device_instance(pipes_struct *p)
+static bool api_ntsvcs_validate_device_instance(pipes_struct *p)
{
NTSVCS_Q_VALIDATE_DEVICE_INSTANCE q_u;
NTSVCS_R_VALIDATE_DEVICE_INSTANCE r_u;
@@ -121,7 +121,7 @@ static BOOL api_ntsvcs_validate_device_instance(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_get_device_reg_property(pipes_struct *p)
+static bool api_ntsvcs_get_device_reg_property(pipes_struct *p)
{
NTSVCS_Q_GET_DEVICE_REG_PROPERTY q_u;
NTSVCS_R_GET_DEVICE_REG_PROPERTY r_u;
@@ -145,7 +145,7 @@ static BOOL api_ntsvcs_get_device_reg_property(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_get_hw_profile_info(pipes_struct *p)
+static bool api_ntsvcs_get_hw_profile_info(pipes_struct *p)
{
NTSVCS_Q_GET_HW_PROFILE_INFO q_u;
NTSVCS_R_GET_HW_PROFILE_INFO r_u;
@@ -169,7 +169,7 @@ static BOOL api_ntsvcs_get_hw_profile_info(pipes_struct *p)
/*******************************************************************
********************************************************************/
-static BOOL api_ntsvcs_hw_profile_flags(pipes_struct *p)
+static bool api_ntsvcs_hw_profile_flags(pipes_struct *p)
{
NTSVCS_Q_HW_PROFILE_FLAGS q_u;
NTSVCS_R_HW_PROFILE_FLAGS r_u;