OpenVAS Libraries  9.0.1
Typedefs | Functions
iconv.c File Reference
#include "iconv.h"
#include "charset.h"
#include "smb.h"

Typedefs

typedef unsigned int bool
 

Functions

size_t smb_iconv_ntlmssp (smb_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)
 
smb_iconv_t smb_iconv_open_ntlmssp (const char *tocode, const char *fromcode)
 
int smb_iconv_close_ntlmssp (smb_iconv_t cd)
 

Typedef Documentation

◆ bool

typedef unsigned int bool

Function Documentation

◆ smb_iconv_close_ntlmssp()

int smb_iconv_close_ntlmssp ( smb_iconv_t  cd)

◆ smb_iconv_ntlmssp()

size_t smb_iconv_ntlmssp ( smb_iconv_t  cd,
const char **  inbuf,
size_t *  inbytesleft,
char **  outbuf,
size_t *  outbytesleft 
)

This is a simple portable iconv() implementaion.

It only knows about a very small number of character sets - just enough that Samba works on systems that don't have iconv.

◆ smb_iconv_open_ntlmssp()

smb_iconv_t smb_iconv_open_ntlmssp ( const char *  tocode,
const char *  fromcode 
)