#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_cache * | server_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_data * | internal |
INTERNAL DATA do _NOT_ touch this from your program ! | |
データ構造 | |
struct | _smbc_callbacks |
struct | _smbc_options |
user options selections that apply to this session [詳細] |
libsmbclient.h の 397 行で定義されています。
int debug |
debug level
libsmbclient.h の 400 行で定義されています。
参照元 cac_Connect()・smbc_init()・smbc_init_context()・smbc_new_context().
char* netbios_name |
netbios name used for making connections
libsmbclient.h の 404 行で定義されています。
参照元 cac_InitHandleData()・smbc_free_context()・smbc_init_context()・smbc_server().
char* workgroup |
workgroup name used for making connections
libsmbclient.h の 408 行で定義されています。
参照元 cac_InitHandleData()・smbc_free_context()・smbc_init_context()・smbc_parse_path().
char* user |
username used for making connections
libsmbclient.h の 412 行で定義されています。
参照元 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.h の 416 行で定義されています。
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().
struct smbc_dirent*(* readdir)(SMBCCTX *c, SMBCFILE *dir) |
int(* getdents)(SMBCCTX *c, SMBCFILE *dir, struct smbc_dirent *dirp, int count) |
int(* removexattr)(SMBCCTX *context, const char *fname, const char *name) |
int(* print_file)(SMBCCTX *c_file, const char *fname, SMBCCTX *c_print, const char *printq) |
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) |
struct smbc_server_cache* server_cache |
Space to store private data of the server cache.
libsmbclient.h の 519 行で定義されています。
参照元 smbc_add_cached_server()・smbc_get_cached_server()・smbc_purge_cached()・smbc_remove_cached_server().
int flags |
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.h の 587 行で定義されています。
参照元 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().