構造体 _SMBCCTX
[Data Structures Type and Constants]

Structure that contains a client context information This structure is know as SMBCCTX [詳細]

#include <libsmbclient.h>


変数

int debug
 debug level
char * netbios_name
 netbios name used for making connections
char * workgroup
 workgroup name used for making connections
char * user
 username used for making connections
int timeout
 timeout used for waiting on connections / response data (in milliseconds)
SMBCFILE *(* open )(SMBCCTX *c, const char *fname, int flags, mode_t mode)
 callable functions for files: For usage and return values see the smbc_* functions
SMBCFILE *(* creat )(SMBCCTX *c, const char *path, mode_t mode)
ssize_t(* read )(SMBCCTX *c, SMBCFILE *file, void *buf, size_t count)
ssize_t(* write )(SMBCCTX *c, SMBCFILE *file, void *buf, size_t count)
int(* unlink )(SMBCCTX *c, const char *fname)
int(* rename )(SMBCCTX *ocontext, const char *oname, SMBCCTX *ncontext, const char *nname)
off_t(* lseek )(SMBCCTX *c, SMBCFILE *file, off_t offset, int whence)
int(* stat )(SMBCCTX *c, const char *fname, struct stat *st)
int(* fstat )(SMBCCTX *c, SMBCFILE *file, struct stat *st)
int(* close_fn )(SMBCCTX *c, SMBCFILE *file)
SMBCFILE *(* opendir )(SMBCCTX *c, const char *fname)
 callable functions for dirs
int(* closedir )(SMBCCTX *c, SMBCFILE *dir)
smbc_dirent *(* readdir )(SMBCCTX *c, SMBCFILE *dir)
int(* getdents )(SMBCCTX *c, SMBCFILE *dir, struct smbc_dirent *dirp, int count)
int(* mkdir )(SMBCCTX *c, const char *fname, mode_t mode)
int(* rmdir )(SMBCCTX *c, const char *fname)
off_t(* telldir )(SMBCCTX *c, SMBCFILE *dir)
int(* lseekdir )(SMBCCTX *c, SMBCFILE *dir, off_t offset)
int(* fstatdir )(SMBCCTX *c, SMBCFILE *dir, struct stat *st)
int(* chmod )(SMBCCTX *c, const char *fname, mode_t mode)
int(* utimes )(SMBCCTX *c, const char *fname, struct timeval *tbuf)
int(* setxattr )(SMBCCTX *context, const char *fname, const char *name, const void *value, size_t size, int flags)
int(* getxattr )(SMBCCTX *context, const char *fname, const char *name, const void *value, size_t size)
int(* removexattr )(SMBCCTX *context, const char *fname, const char *name)
int(* listxattr )(SMBCCTX *context, const char *fname, char *list, size_t size)
int(* print_file )(SMBCCTX *c_file, const char *fname, SMBCCTX *c_print, const char *printq)
 callable functions for printing
SMBCFILE *(* open_print_job )(SMBCCTX *c, const char *fname)
int(* list_print_jobs )(SMBCCTX *c, const char *fname, smbc_list_print_job_fn fn)
int(* unlink_print_job )(SMBCCTX *c, const char *fname, int id)
_SMBCCTX::_smbc_callbacks callbacks
smbc_server_cacheserver_cache
 Space to store private data of the server cache.
int flags
_SMBCCTX::_smbc_options options
 user options selections that apply to this session
smbc_internal_datainternal
 INTERNAL DATA do _NOT_ touch this from your program !

データ構造

struct  _smbc_callbacks
struct  _smbc_options
 user options selections that apply to this session [詳細]


説明

Structure that contains a client context information This structure is know as SMBCCTX

libsmbclient.h397 行で定義されています。


構造体

int debug

debug level

libsmbclient.h400 行で定義されています。

参照元 cac_Connect()smbc_init()smbc_init_context()smbc_new_context().

char* netbios_name

netbios name used for making connections

libsmbclient.h404 行で定義されています。

参照元 cac_InitHandleData()smbc_free_context()smbc_init_context()smbc_server().

char* workgroup

workgroup name used for making connections

libsmbclient.h408 行で定義されています。

参照元 cac_InitHandleData()smbc_free_context()smbc_init_context()smbc_parse_path().

char* user

username used for making connections

libsmbclient.h412 行で定義されています。

参照元 cac_InitHandleData()smbc_chmod_ctx()smbc_free_context()smbc_getxattr_ctx()smbc_init_context()smbc_list_print_jobs_ctx()smbc_mkdir_ctx()smbc_open_ctx()smbc_opendir_ctx()smbc_removexattr_ctx()smbc_rename_ctx()smbc_rmdir_ctx()smbc_setxattr_ctx()smbc_stat_ctx()smbc_unlink_ctx()smbc_unlink_print_job_ctx()smbc_utimes_ctx().

int timeout

timeout used for waiting on connections / response data (in milliseconds)

libsmbclient.h416 行で定義されています。

参照元 smbc_init_context()smbc_new_context()smbc_server().

SMBCFILE*(* open)(SMBCCTX *c, const char *fname, int flags, mode_t mode)

callable functions for files: For usage and return values see the smbc_* functions

参照元 smbc_new_context()smbc_open()smbc_open_print_job_ctx()smbc_print_file_ctx().

SMBCFILE*(* creat)(SMBCCTX *c, const char *path, mode_t mode)

参照元 smbc_creat()smbc_new_context().

ssize_t(* read)(SMBCCTX *c, SMBCFILE *file, void *buf, size_t count)

参照元 smbc_new_context()smbc_print_file_ctx()smbc_read().

ssize_t(* write)(SMBCCTX *c, SMBCFILE *file, void *buf, size_t count)

参照元 smbc_new_context()smbc_print_file_ctx()smbc_write().

int(* unlink)(SMBCCTX *c, const char *fname)

参照元 smbc_creat()smbc_new_context()smbc_unlink().

int(* rename)(SMBCCTX *ocontext, const char *oname, SMBCCTX *ncontext, const char *nname)

参照元 smbc_new_context()smbc_rename().

off_t(* lseek)(SMBCCTX *c, SMBCFILE *file, off_t offset, int whence)

参照元 smbc_lseek()smbc_new_context().

int(* stat)(SMBCCTX *c, const char *fname, struct stat *st)

参照元 smbc_new_context()smbc_stat().

int(* fstat)(SMBCCTX *c, SMBCFILE *file, struct stat *st)

参照元 smbc_fstat()smbc_new_context().

int(* close_fn)(SMBCCTX *c, SMBCFILE *file)

参照元 smbc_close()smbc_creat()smbc_free_context()smbc_new_context()smbc_open()smbc_print_file_ctx().

SMBCFILE*(* opendir)(SMBCCTX *c, const char *fname)

callable functions for dirs

参照元 smbc_new_context()smbc_open_ctx()smbc_opendir().

int(* closedir)(SMBCCTX *c, SMBCFILE *dir)

参照元 smbc_close_ctx()smbc_closedir()smbc_new_context()smbc_opendir().

struct smbc_dirent*(* readdir)(SMBCCTX *c, SMBCFILE *dir)

参照元 smbc_new_context()smbc_readdir().

int(* getdents)(SMBCCTX *c, SMBCFILE *dir, struct smbc_dirent *dirp, int count)

参照元 smbc_getdents()smbc_new_context().

int(* mkdir)(SMBCCTX *c, const char *fname, mode_t mode)

参照元 smbc_mkdir()smbc_new_context().

int(* rmdir)(SMBCCTX *c, const char *fname)

参照元 smbc_new_context()smbc_rmdir().

off_t(* telldir)(SMBCCTX *c, SMBCFILE *dir)

参照元 smbc_new_context()smbc_telldir().

int(* lseekdir)(SMBCCTX *c, SMBCFILE *dir, off_t offset)

参照元 smbc_lseekdir()smbc_new_context().

int(* fstatdir)(SMBCCTX *c, SMBCFILE *dir, struct stat *st)

参照元 smbc_fstat_ctx()smbc_new_context().

int(* chmod)(SMBCCTX *c, const char *fname, mode_t mode)

参照元 smbc_chmod()smbc_new_context().

int(* utimes)(SMBCCTX *c, const char *fname, struct timeval *tbuf)

参照元 smbc_new_context()smbc_utime()smbc_utimes().

int(* setxattr)(SMBCCTX *context, const char *fname, const char *name, const void *value, size_t size, int flags)

参照元 smbc_fsetxattr()smbc_lsetxattr()smbc_new_context()smbc_setxattr().

int(* getxattr)(SMBCCTX *context, const char *fname, const char *name, const void *value, size_t size)

参照元 smbc_fgetxattr()smbc_getxattr()smbc_lgetxattr()smbc_new_context().

int(* removexattr)(SMBCCTX *context, const char *fname, const char *name)

参照元 smbc_fremovexattr()smbc_lremovexattr()smbc_new_context()smbc_removexattr().

int(* listxattr)(SMBCCTX *context, const char *fname, char *list, size_t size)

参照元 smbc_flistxattr()smbc_listxattr()smbc_llistxattr()smbc_new_context().

int(* print_file)(SMBCCTX *c_file, const char *fname, SMBCCTX *c_print, const char *printq)

callable functions for printing

参照元 smbc_new_context()smbc_print_file().

SMBCFILE*(* open_print_job)(SMBCCTX *c, const char *fname)

参照元 smbc_new_context()smbc_open_print_job()smbc_print_file_ctx().

int(* list_print_jobs)(SMBCCTX *c, const char *fname, smbc_list_print_job_fn fn)

参照元 smbc_list_print_jobs()smbc_new_context().

int(* unlink_print_job)(SMBCCTX *c, const char *fname, int id)

参照元 smbc_new_context()smbc_unlink_print_job().

struct _SMBCCTX::_smbc_callbacks callbacks

参照元 cac_NewServerHandle()cac_SetAuthDataFn()find_server()smbc_attr_server()smbc_close_ctx()smbc_default_cache_functions()smbc_free_context()smbc_get_cached_server()smbc_init()smbc_init_context()smbc_new_context()smbc_opendir_ctx()smbc_remove_unused_server()smbc_server().

struct smbc_server_cache* server_cache

Space to store private data of the server cache.

libsmbclient.h519 行で定義されています。

参照元 smbc_add_cached_server()smbc_get_cached_server()smbc_purge_cached()smbc_remove_cached_server().

int flags

libsmbclient.h521 行で定義されています。

参照元 smbc_attr_server()smbc_server().

struct _SMBCCTX::_smbc_options options

user options selections that apply to this session

参照元 smbc_get_cached_server()smbc_new_context()smbc_opendir_ctx()smbc_readdir_internal()smbc_server().

struct smbc_internal_data* internal

INTERNAL DATA do _NOT_ touch this from your program !

libsmbclient.h587 行で定義されています。

参照元 cac_Connect()cacl_get()dos_attr_parse()find_server()smbc_attr_server()smbc_chmod_ctx()smbc_close_ctx()smbc_closedir_ctx()smbc_creat_ctx()smbc_free_context()smbc_fstat_ctx()smbc_fstatdir_ctx()smbc_getatr()smbc_getdents_ctx()smbc_getxattr_ctx()smbc_init_context()smbc_inode()smbc_list_print_jobs_ctx()smbc_listxattr_ctx()smbc_lseek_ctx()smbc_lseekdir_ctx()smbc_mkdir_ctx()smbc_new_context()smbc_open_ctx()smbc_open_print_job_ctx()smbc_opendir_ctx()smbc_option_get()smbc_option_set()smbc_print_file_ctx()smbc_read_ctx()smbc_readdir_ctx()smbc_remove_unused_server()smbc_removexattr_ctx()smbc_rename_ctx()smbc_rmdir_ctx()smbc_server()smbc_setxattr_ctx()smbc_stat_ctx()smbc_telldir_ctx()smbc_unlink_ctx()smbc_unlink_print_job_ctx()smbc_utimes_ctx()smbc_write_ctx().


この構造体の説明は次のファイルから生成されました:
Sambaに対してSat Aug 29 21:24:41 2009に生成されました。  doxygen 1.4.7