Send a SMB trans or trans2 request.
****************************************************************************/
-BOOL cli_send_trans(struct cli_state *cli, int trans,
+bool cli_send_trans(struct cli_state *cli, int trans,
const char *pipe_name,
int fid, int flags,
uint16 *setup, unsigned int lsetup, unsigned int msetup,
Receive a SMB trans or trans2 response allocating the necessary memory.
****************************************************************************/
-BOOL cli_receive_trans(struct cli_state *cli,int trans,
+bool cli_receive_trans(struct cli_state *cli,int trans,
char **param, unsigned int *param_len,
char **data, unsigned int *data_len)
{
unsigned int total_param=0;
unsigned int this_data,this_param;
NTSTATUS status;
- BOOL ret = False;
+ bool ret = False;
*data_len = *param_len = 0;
Send a SMB nttrans request.
****************************************************************************/
-BOOL cli_send_nt_trans(struct cli_state *cli,
+bool cli_send_nt_trans(struct cli_state *cli,
int function,
int flags,
uint16 *setup, unsigned int lsetup, unsigned int msetup,
Receive a SMB nttrans response allocating the necessary memory.
****************************************************************************/
-BOOL cli_receive_nt_trans(struct cli_state *cli,
+bool cli_receive_nt_trans(struct cli_state *cli,
char **param, unsigned int *param_len,
char **data, unsigned int *data_len)
{
unsigned int this_data,this_param;
uint8 eclass;
uint32 ecode;
- BOOL ret = False;
+ bool ret = False;
*data_len = *param_len = 0;