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_srv.h File Reference
#include "config.h"
#include <sys/types.h>
#include <unistd.h>
#include "smb_conn_proto.h"
Include dependency graph for smb_conn_srv.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_srv_fd
 

Macros

#define ATTRIB(x)   /* no attributes */
 
#define DSRVPRINTF(ctx, level_value, fmt, args...)   smb_conn_srv_debug_print(ctx, MESSAGE, 0, level_value, 0, "srv(%d)->%s: " fmt, getpid(), __FUNCTION__, ## args)
 
#define DSRVDIEMSG(ctx, errno_value, fmt, args...)   smb_conn_srv_debug_print(ctx, DIE_MSG, errno_value, 0, 0, "srv(%d)->%s: " fmt, getpid(), __FUNCTION__, ## args)
 

Enumerations

enum  smb_conn_srv_fd_type { SMB_CONN_FILE , SMB_CONN_DIR }
 

Functions

void smb_conn_srv_debug_print (struct smb_conn_srv_ctx *ctx, enum smb_conn_cmd msg_type, int errno_value, int level, int no_fallback, const char *fmt,...)
 
void smb_conn_srv_send_reply (struct smb_conn_srv_ctx *ctx, enum smb_conn_cmd query_cmd, int errno_value, void *reply, size_t reply_len)
 
int smb_conn_srv_send_msg (struct smb_conn_srv_ctx *ctx, enum smb_conn_cmd msg_type, int errno_value, int level, const char *msg)
 
void smb_conn_srv_open (struct smb_conn_srv_ctx *ctx, struct smb_conn_open_query *query, size_t query_len)
 
void smb_conn_srv_creat (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_mode_query *query, size_t query_len)
 
void smb_conn_srv_read (struct smb_conn_srv_ctx *ctx, struct smb_conn_rw_query *query, size_t query_len)
 
void smb_conn_srv_write (struct smb_conn_srv_ctx *ctx, struct smb_conn_rw_query *query, size_t query_len)
 
void smb_conn_srv_close (struct smb_conn_srv_ctx *ctx, struct smb_conn_fd_query *query, size_t query_len)
 
void smb_conn_srv_unlink (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_query *query, size_t query_len)
 
void smb_conn_srv_rename (struct smb_conn_srv_ctx *ctx, struct smb_conn_rename_query *query, size_t query_len)
 
void smb_conn_srv_opendir (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_query *query, size_t query_len)
 
void smb_conn_srv_closedir (struct smb_conn_srv_ctx *ctx, struct smb_conn_fd_query *query, size_t query_len)
 
void smb_conn_srv_readdir (struct smb_conn_srv_ctx *ctx, struct smb_conn_rw_query *query, size_t query_len)
 
void smb_conn_srv_mkdir (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_mode_query *query, size_t query_len)
 
void smb_conn_srv_rmdir (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_query *query, size_t query_len)
 
void smb_conn_srv_stat (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_query *query, size_t query_len)
 
void smb_conn_srv_fstat (struct smb_conn_srv_ctx *ctx, struct smb_conn_fd_query *query, size_t query_len)
 
void smb_conn_srv_ftruncate (struct smb_conn_srv_ctx *ctx, struct smb_conn_ftruncate_query *query, size_t query_len)
 
void smb_conn_srv_chmod (struct smb_conn_srv_ctx *ctx, struct smb_conn_url_mode_query *query, size_t query_len)
 
void smb_conn_srv_utimes (struct smb_conn_srv_ctx *ctx, struct smb_conn_utimes_query *query, size_t query_len)
 
void smb_conn_srv_setxattr (struct smb_conn_srv_ctx *ctx, struct smb_conn_setxattr_query *query, size_t query_len)
 
void smb_conn_srv_getxattr (struct smb_conn_srv_ctx *ctx, struct smb_conn_getxattr_query *query, size_t query_len)
 
void smb_conn_srv_listxattr (struct smb_conn_srv_ctx *ctx, struct smb_conn_listxattr_query *query, size_t query_len)
 
void smb_conn_srv_removexattr (struct smb_conn_srv_ctx *ctx, struct smb_conn_removexattr_query *query, size_t query_len)
 
static const char * smb_conn_srv_get_url_from_query (const void *query, size_t url_offs)
 

Macro Definition Documentation

◆ ATTRIB

#define ATTRIB (   x)    /* no attributes */

Definition at line 13 of file smb_conn_srv.h.

◆ DSRVDIEMSG

#define DSRVDIEMSG (   ctx,
  errno_value,
  fmt,
  args... 
)    smb_conn_srv_debug_print(ctx, DIE_MSG, errno_value, 0, 0, "srv(%d)->%s: " fmt, getpid(), __FUNCTION__, ## args)

Definition at line 82 of file smb_conn_srv.h.

◆ DSRVPRINTF

#define DSRVPRINTF (   ctx,
  level_value,
  fmt,
  args... 
)    smb_conn_srv_debug_print(ctx, MESSAGE, 0, level_value, 0, "srv(%d)->%s: " fmt, getpid(), __FUNCTION__, ## args)

Definition at line 81 of file smb_conn_srv.h.

Enumeration Type Documentation

◆ smb_conn_srv_fd_type

Enumerator
SMB_CONN_FILE 
SMB_CONN_DIR 

Definition at line 16 of file smb_conn_srv.h.

Function Documentation

◆ smb_conn_srv_chmod()

void smb_conn_srv_chmod ( struct smb_conn_srv_ctx ctx,
struct smb_conn_url_mode_query query,
size_t  query_len 
)

◆ smb_conn_srv_close()

void smb_conn_srv_close ( struct smb_conn_srv_ctx ctx,
struct smb_conn_fd_query query,
size_t  query_len 
)

◆ smb_conn_srv_closedir()

void smb_conn_srv_closedir ( struct smb_conn_srv_ctx ctx,
struct smb_conn_fd_query query,
size_t  query_len 
)

◆ smb_conn_srv_creat()

◆ smb_conn_srv_debug_print()

void smb_conn_srv_debug_print ( struct smb_conn_srv_ctx ctx,
enum smb_conn_cmd  msg_type,
int  errno_value,
int  level,
int  no_fallback,
const char *  fmt,
  ... 
)

◆ smb_conn_srv_fstat()

void smb_conn_srv_fstat ( struct smb_conn_srv_ctx ctx,
struct smb_conn_fd_query query,
size_t  query_len 
)

◆ smb_conn_srv_ftruncate()

◆ smb_conn_srv_get_url_from_query()

◆ smb_conn_srv_getxattr()

◆ smb_conn_srv_listxattr()

◆ smb_conn_srv_mkdir()

void smb_conn_srv_mkdir ( struct smb_conn_srv_ctx ctx,
struct smb_conn_url_mode_query query,
size_t  query_len 
)

◆ smb_conn_srv_open()

◆ smb_conn_srv_opendir()

◆ smb_conn_srv_read()

◆ smb_conn_srv_readdir()

◆ smb_conn_srv_removexattr()

◆ smb_conn_srv_rename()

void smb_conn_srv_rename ( struct smb_conn_srv_ctx ctx,
struct smb_conn_rename_query query,
size_t  query_len 
)

◆ smb_conn_srv_rmdir()

void smb_conn_srv_rmdir ( struct smb_conn_srv_ctx ctx,
struct smb_conn_url_query query,
size_t  query_len 
)

◆ smb_conn_srv_send_msg()

int smb_conn_srv_send_msg ( struct smb_conn_srv_ctx ctx,
enum smb_conn_cmd  msg_type,
int  errno_value,
int  level,
const char *  msg 
)

◆ smb_conn_srv_send_reply()

◆ smb_conn_srv_setxattr()

◆ smb_conn_srv_stat()

void smb_conn_srv_stat ( struct smb_conn_srv_ctx ctx,
struct smb_conn_url_query query,
size_t  query_len 
)

◆ smb_conn_srv_unlink()

void smb_conn_srv_unlink ( struct smb_conn_srv_ctx ctx,
struct smb_conn_url_query query,
size_t  query_len 
)

◆ smb_conn_srv_utimes()

void smb_conn_srv_utimes ( struct smb_conn_srv_ctx ctx,
struct smb_conn_utimes_query query,
size_t  query_len 
)

◆ smb_conn_srv_write()