smbnetfs  0.6.3
About: SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft network in the same manner as the network neighborhood in Microsoft Windows.
  Fossies Dox: smbnetfs-0.6.3.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

smb_conn.h File Reference
#include <time.h>
#include <sys/types.h>
#include <unistd.h>
#include "smb_conn_proto.h"
#include "list.h"
Include dependency graph for smb_conn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  smb_conn_ctx
 
struct  smb_conn_file
 

Typedefs

typedef struct smb_conn_filesmb_conn_fd
 

Functions

int smb_conn_set_max_retry_count (int count)
 
int smb_conn_set_max_passwd_query_count (int count)
 
int smb_conn_set_server_reply_timeout (int timeout)
 
int smb_conn_ctx_init (struct smb_conn_ctx *ctx, size_t shmem_size)
 
int smb_conn_ctx_destroy (struct smb_conn_ctx *ctx)
 
smb_conn_fd smb_conn_open (struct smb_conn_ctx *ctx, const char *url, int flags, mode_t mode)
 
smb_conn_fd smb_conn_creat (struct smb_conn_ctx *ctx, const char *url, mode_t mode)
 
ssize_t smb_conn_read (struct smb_conn_ctx *ctx, smb_conn_fd fd, off_t offset, void *buf, size_t bufsize)
 
ssize_t smb_conn_write (struct smb_conn_ctx *ctx, smb_conn_fd fd, off_t offset, const void *buf, size_t bufsize)
 
int smb_conn_close (struct smb_conn_ctx *ctx, smb_conn_fd fd)
 
int smb_conn_unlink (struct smb_conn_ctx *ctx, const char *url)
 
int smb_conn_rename (struct smb_conn_ctx *ctx, const char *old_url, const char *new_url)
 
smb_conn_fd smb_conn_opendir (struct smb_conn_ctx *ctx, const char *url)
 
int smb_conn_closedir (struct smb_conn_ctx *ctx, smb_conn_fd fd)
 
ssize_t smb_conn_readdir (struct smb_conn_ctx *ctx, smb_conn_fd fd, void *buf, size_t bufsize)
 
int smb_conn_mkdir (struct smb_conn_ctx *ctx, const char *url, mode_t mode)
 
int smb_conn_rmdir (struct smb_conn_ctx *ctx, const char *url)
 
int smb_conn_stat (struct smb_conn_ctx *ctx, const char *url, struct stat *st)
 
int smb_conn_fstat (struct smb_conn_ctx *ctx, smb_conn_fd fd, struct stat *st)
 
int smb_conn_ftruncate (struct smb_conn_ctx *ctx, smb_conn_fd fd, off_t size)
 
int smb_conn_chmod (struct smb_conn_ctx *ctx, const char *url, mode_t mode)
 
int smb_conn_utimes (struct smb_conn_ctx *ctx, const char *url, struct timeval *tbuf)
 
int smb_conn_setxattr (struct smb_conn_ctx *ctx, const char *url, const char *name, const void *value, size_t size, int flags)
 
int smb_conn_getxattr (struct smb_conn_ctx *ctx, const char *url, const char *name, void *value, size_t size)
 
int smb_conn_listxattr (struct smb_conn_ctx *ctx, const char *url, char *list, size_t size)
 
int smb_conn_removexattr (struct smb_conn_ctx *ctx, const char *url, const char *name)
 

Typedef Documentation

◆ smb_conn_fd

typedef struct smb_conn_file* smb_conn_fd

Definition at line 29 of file smb_conn.h.

Function Documentation

◆ smb_conn_chmod()

int smb_conn_chmod ( struct smb_conn_ctx ctx,
const char *  url,
mode_t  mode 
)

◆ smb_conn_close()

◆ smb_conn_closedir()

◆ smb_conn_creat()

◆ smb_conn_ctx_destroy()

◆ smb_conn_ctx_init()

◆ smb_conn_fstat()

◆ smb_conn_ftruncate()

◆ smb_conn_getxattr()

int smb_conn_getxattr ( struct smb_conn_ctx ctx,
const char *  url,
const char *  name,
void *  value,
size_t  size 
)

◆ smb_conn_listxattr()

int smb_conn_listxattr ( struct smb_conn_ctx ctx,
const char *  url,
char *  list,
size_t  size 
)

◆ smb_conn_mkdir()

int smb_conn_mkdir ( struct smb_conn_ctx ctx,
const char *  url,
mode_t  mode 
)

◆ smb_conn_open()

◆ smb_conn_opendir()

◆ smb_conn_read()

◆ smb_conn_readdir()

◆ smb_conn_removexattr()

int smb_conn_removexattr ( struct smb_conn_ctx ctx,
const char *  url,
const char *  name 
)

◆ smb_conn_rename()

int smb_conn_rename ( struct smb_conn_ctx ctx,
const char *  old_url,
const char *  new_url 
)

◆ smb_conn_rmdir()

int smb_conn_rmdir ( struct smb_conn_ctx ctx,
const char *  url 
)

◆ smb_conn_set_max_passwd_query_count()

int smb_conn_set_max_passwd_query_count ( int  count)

Definition at line 93 of file smb_conn.c.

References DPRINTF, and smb_conn_max_passwd_query_count.

Referenced by reconfigure_analyse_simple_option().

◆ smb_conn_set_max_retry_count()

int smb_conn_set_max_retry_count ( int  count)

Definition at line 82 of file smb_conn.c.

References DPRINTF, and smb_conn_max_retry_count.

Referenced by reconfigure_analyse_simple_option().

◆ smb_conn_set_server_reply_timeout()

int smb_conn_set_server_reply_timeout ( int  timeout)

Definition at line 104 of file smb_conn.c.

References DPRINTF, and smb_conn_server_reply_timeout.

Referenced by reconfigure_analyse_simple_option().

◆ smb_conn_setxattr()

int smb_conn_setxattr ( struct smb_conn_ctx ctx,
const char *  url,
const char *  name,
const void *  value,
size_t  size,
int  flags 
)

◆ smb_conn_stat()

int smb_conn_stat ( struct smb_conn_ctx ctx,
const char *  url,
struct stat *  st 
)

◆ smb_conn_unlink()

int smb_conn_unlink ( struct smb_conn_ctx ctx,
const char *  url 
)

◆ smb_conn_utimes()

int smb_conn_utimes ( struct smb_conn_ctx ctx,
const char *  url,
struct timeval *  tbuf 
)

◆ smb_conn_write()