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)  

charset.h File Reference
#include <sys/types.h>
Include dependency graph for charset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHARSET_BUF_SIZE   2048
 

Functions

int charset_init (const char *local, const char *samba)
 
char * charset_local2smb (const char *src)
 
char * charset_smb2local (const char *src)
 
char * charset_local2smb_r (const char *src, char *dest, size_t dest_size)
 
char * charset_smb2local_r (const char *src, char *dest, size_t dest_size)
 

Macro Definition Documentation

◆ CHARSET_BUF_SIZE

#define CHARSET_BUF_SIZE   2048

Definition at line 6 of file charset.h.

Function Documentation

◆ charset_init()

int charset_init ( const char *  local,
const char *  samba 
)

Definition at line 14 of file charset.c.

References charset_local2samba, and charset_samba2local.

Referenced by smb_conn_srv_listen().

◆ charset_local2smb()

◆ charset_local2smb_r()

char* charset_local2smb_r ( const char *  src,
char *  dest,
size_t  dest_size 
)

Definition at line 120 of file charset.c.

References charset_local2samba, and charset_local_to_samba().

Referenced by charset_local2smb().

◆ charset_smb2local()

char* charset_smb2local ( const char *  src)

Definition at line 151 of file charset.c.

References charset_buf, and charset_smb2local_r().

Referenced by smb_conn_srv_readdir().

◆ charset_smb2local_r()

char* charset_smb2local_r ( const char *  src,
char *  dest,
size_t  dest_size 
)

Definition at line 134 of file charset.c.

References charset_samba2local, and charset_samba_to_local().

Referenced by charset_smb2local(), and smb_conn_srv_auth_fn().