Go to the source code of this file.
Functions | |
SMB_Tree_Handle | SMB_Logon_And_TCon (SMB_Handle_Type Con_Handle, SMB_Tree_Handle Tree_Handle, char *UserName, char *PassWord, char *service, char *service_type) |
int | SMB_Logon_TCon_Open (SMB_Handle_Type Con_Handle, char *UserName, char *PassWord, char *service, char *service_type, SMB_Tree_Handle *Tree_Handle, char *filename, WORD mode, WORD search, SMB_File **File_Handle) |
Function Documentation
◆ SMB_Logon_And_TCon()
SMB_Tree_Handle SMB_Logon_And_TCon | ( | SMB_Handle_Type | Con_Handle, |
SMB_Tree_Handle | Tree_Handle, | ||
char * | UserName, | ||
char * | PassWord, | ||
char * | service, | ||
char * | service_type | ||
) |
p = 0; p = p + 1;
Definition at line 45 of file exper.c.
References CVAL, IVAL, RFCNB_Pkt::next, NULL, pid, RFCNB_Alloc_Pkt(), RFCNB_Free_Pkt(), RFCNB_Recv(), RFCNB_Send(), SIVAL, SMB_DEF_IDF, SMB_Hdr, SMB_hdr_axc_offset, SMB_hdr_axo_offset, SMB_hdr_com_offset, SMB_hdr_err_offset, SMB_hdr_idf_offset, SMB_hdr_mid_offset, SMB_hdr_pid_offset, SMB_hdr_rcls_offset, SMB_hdr_tid_offset, SMB_hdr_uid_offset, SMB_hdr_wct_offset, SMB_P_LanMan1, SMB_P_NT1, SMB_ssetpLM_bcc_offset, SMB_ssetpLM_buf_offset, SMB_ssetpLM_len, SMB_ssetpLM_mbs_offset, SMB_ssetpLM_mmc_offset, SMB_ssetpLM_pwl_offset, SMB_ssetpLM_res_offset, SMB_ssetpLM_snk_offset, SMB_ssetpLM_vcn_offset, SMB_ssetpNTLM_bcc_offset, SMB_ssetpNTLM_buf_offset, SMB_ssetpNTLM_cap_offset, SMB_ssetpNTLM_cipl_offset, SMB_ssetpNTLM_cspl_offset, SMB_ssetpNTLM_len, SMB_ssetpNTLM_mbs_offset, SMB_ssetpNTLM_mmc_offset, SMB_ssetpNTLM_res_offset, SMB_ssetpNTLM_snk_offset, SMB_ssetpNTLM_vcn_offset, SMB_ssetpr_act_offset, SMB_tconx_axc_offset, SMB_tconx_axo_offset, SMB_tconx_bcc_offset, SMB_tconx_buf_offset, SMB_tconx_flg_offset, SMB_tconx_len, SMB_tconx_pwl_offset, SMBC_SUCCESS, SMBlib_errno, SMBLIB_MAX_XMIT, SMBlib_SMB_Error, SMBlibE_NoSpace, SMBlibE_ProtLow, SMBlibE_RecvFailed, SMBlibE_Remote, SMBlibE_SendFailed, SMBsesssetupX, SMBtconX, SSVAL, and SVAL.
◆ SMB_Logon_TCon_Open()
int SMB_Logon_TCon_Open | ( | SMB_Handle_Type | Con_Handle, |
char * | UserName, | ||
char * | PassWord, | ||
char * | service, | ||
char * | service_type, | ||
SMB_Tree_Handle * | Tree_Handle, | ||
char * | filename, | ||
WORD | mode, | ||
WORD | search, | ||
SMB_File ** | File_Handle | ||
) |
Definition at line 361 of file exper.c.
References CVAL, SMB_File_Def::filename, IVAL, RFCNB_Pkt::next, NULL, pid, RFCNB_Alloc_Pkt(), RFCNB_Free_Pkt(), RFCNB_Recv(), RFCNB_Send(), SIVAL, size, SMB_DEF_IDF, SMB_Hdr, SMB_hdr_axc_offset, SMB_hdr_axo_offset, SMB_hdr_com_offset, SMB_hdr_err_offset, SMB_hdr_idf_offset, SMB_hdr_mid_offset, SMB_hdr_pid_offset, SMB_hdr_rcls_offset, SMB_hdr_tid_offset, SMB_hdr_uid_offset, SMB_hdr_wct_offset, SMB_openx_als_offset, SMB_openx_atr_offset, SMB_openx_axc_offset, SMB_openx_axo_offset, SMB_openx_axr_offset, SMB_openx_bcc_offset, SMB_openx_buf_offset, SMB_openx_fat_offset, SMB_openx_flg_offset, SMB_openx_len, SMB_openx_mod_offset, SMB_openx_ofn_offset, SMB_openx_tim_offset, SMB_openxr_acc_offset, SMB_openxr_axo_offset, SMB_openxr_fid_offset, SMB_openxr_fsz_offset, SMB_openxr_tim_offset, SMB_P_LanMan1, SMB_P_NT1, SMB_ssetpLM_bcc_offset, SMB_ssetpLM_buf_offset, SMB_ssetpLM_len, SMB_ssetpLM_mbs_offset, SMB_ssetpLM_mmc_offset, SMB_ssetpLM_pwl_offset, SMB_ssetpLM_res_offset, SMB_ssetpLM_snk_offset, SMB_ssetpLM_vcn_offset, SMB_ssetpNTLM_bcc_offset, SMB_ssetpNTLM_buf_offset, SMB_ssetpNTLM_cap_offset, SMB_ssetpNTLM_cipl_offset, SMB_ssetpNTLM_cspl_offset, SMB_ssetpNTLM_len, SMB_ssetpNTLM_mbs_offset, SMB_ssetpNTLM_mmc_offset, SMB_ssetpNTLM_res_offset, SMB_ssetpNTLM_snk_offset, SMB_ssetpNTLM_vcn_offset, SMB_ssetpr_act_offset, SMB_tconx_axc_offset, SMB_tconx_axo_offset, SMB_tconx_bcc_offset, SMB_tconx_buf_offset, SMB_tconx_flg_offset, SMB_tconx_len, SMB_tconx_pwl_offset, SMB_tconxr_axo_offset, SMBC_SUCCESS, SMBlib_errno, SMBLIB_MAX_XMIT, SMBlib_SMB_Error, SMBlibE_BAD, SMBlibE_NoSpace, SMBlibE_ProtLow, SMBlibE_RecvFailed, SMBlibE_Remote, SMBlibE_SendFailed, SMBopenX, SMBsesssetupX, SMBtconX, SSVAL, SVAL, and SMB_File_Def::tree.