smblib-api.c File Reference
#include "squid.h"
#include "rfcnb/rfcnb.h"
#include "smblib/smblib-priv.h"
Include dependency graph for smblib-api.c:

Go to the source code of this file.

Macros

#define SMB_LMAPI_SLOT   "\\PIPE\\LANMAN"
 
#define SMB_LMAPI_SUPW_DESC   "zb16b16WW"
 
#define SMB_LMAPI_SUI_DESC   "zWsTPWW"
 
#define SMB_LMAPI_SUI_DATA_DESC   "B16"
 

Functions

int SMBapi_NetUserPasswordSet (SMB_Tree_Handle tree, char *user, char *oldpass, char *newpass, int *apiStatus)
 
int SMBapi_NetSetUserInfo (SMB_Tree_Handle tree, char *user, char *newpass, int *apiStatus)
 
int SMBapi_NetShareEnum (SMB_Tree_Handle tree, char *enum_buf, int bufsiz, int *shares_returned, int *shares_total)
 

Variables

SMB_Tree_Handle SMBapi_Tree = NULL
 

Macro Definition Documentation

◆ SMB_LMAPI_SLOT

#define SMB_LMAPI_SLOT   "\\PIPE\\LANMAN"

Definition at line 46 of file smblib-api.c.

◆ SMB_LMAPI_SUI_DATA_DESC

#define SMB_LMAPI_SUI_DATA_DESC   "B16"

Definition at line 205 of file smblib-api.c.

◆ SMB_LMAPI_SUI_DESC

#define SMB_LMAPI_SUI_DESC   "zWsTPWW"

Definition at line 204 of file smblib-api.c.

◆ SMB_LMAPI_SUPW_DESC

#define SMB_LMAPI_SUPW_DESC   "zb16b16WW"

Definition at line 47 of file smblib-api.c.

Function Documentation

◆ SMBapi_NetSetUserInfo()

◆ SMBapi_NetShareEnum()

int SMBapi_NetShareEnum ( SMB_Tree_Handle  tree,
char *  enum_buf,
int  bufsiz,
int shares_returned,
int shares_total 
)

Definition at line 385 of file smblib-api.c.

◆ SMBapi_NetUserPasswordSet()

Variable Documentation

◆ SMBapi_Tree

SMB_Tree_Handle SMBapi_Tree = NULL

Definition at line 41 of file smblib-api.c.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors