summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r--source3/libsmb/clidfs.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index db4a9dfbd5..f7bf8506fe 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -42,14 +42,14 @@ struct client_connection {
static pstring username;
static pstring password;
-static BOOL use_kerberos;
-static BOOL got_pass;
+static bool use_kerberos;
+static bool got_pass;
static int signing_state;
int max_protocol = PROTOCOL_NT1;
static int port;
static int name_type = 0x20;
-static BOOL have_ip;
+static bool have_ip;
static struct in_addr dest_ip;
static struct client_connection *connections;
@@ -59,7 +59,7 @@ static struct client_connection *connections;
********************************************************************/
static struct cli_state *do_connect( const char *server, const char *share,
- BOOL show_sessetup )
+ bool show_sessetup )
{
struct cli_state *c = NULL;
struct nmb_name called, calling;
@@ -238,7 +238,7 @@ const char *cli_cm_get_mntpoint( struct cli_state *c )
static struct cli_state *cli_cm_connect( const char *server,
const char *share,
- BOOL show_hdr)
+ bool show_hdr)
{
struct client_connection *node;
@@ -282,7 +282,7 @@ static struct cli_state *cli_cm_find( const char *server, const char *share )
struct cli_state *cli_cm_open(const char *server,
const char *share,
- BOOL show_hdr)
+ bool show_hdr)
{
struct cli_state *c;
@@ -476,7 +476,7 @@ static void cli_dfs_make_full_path( struct cli_state *cli,
check for dfs referral
********************************************************************/
-static BOOL cli_dfs_check_error( struct cli_state *cli, NTSTATUS status )
+static bool cli_dfs_check_error( struct cli_state *cli, NTSTATUS status )
{
uint32 flgs2 = SVAL(cli->inbuf,smb_flg2);
@@ -495,7 +495,7 @@ static BOOL cli_dfs_check_error( struct cli_state *cli, NTSTATUS status )
get the dfs referral link
********************************************************************/
-BOOL cli_dfs_get_referral( struct cli_state *cli,
+bool cli_dfs_get_referral( struct cli_state *cli,
const char *path,
CLIENT_DFS_REFERRAL**refs,
size_t *num_refs,
@@ -582,7 +582,7 @@ BOOL cli_dfs_get_referral( struct cli_state *cli,
/********************************************************************
********************************************************************/
-BOOL cli_resolve_path( const char *mountpt,
+bool cli_resolve_path( const char *mountpt,
struct cli_state *rootcli,
const char *path,
struct cli_state **targetcli,
@@ -745,14 +745,14 @@ BOOL cli_resolve_path( const char *mountpt,
/********************************************************************
********************************************************************/
-BOOL cli_check_msdfs_proxy( struct cli_state *cli, const char *sharename,
+bool cli_check_msdfs_proxy( struct cli_state *cli, const char *sharename,
fstring newserver, fstring newshare )
{
CLIENT_DFS_REFERRAL *refs = NULL;
size_t num_refs;
uint16 consumed;
pstring fullpath;
- BOOL res;
+ bool res;
uint16 cnum;
pstring newextrapath;