Qsmtp  0.30dev
Functions
xtext.c File Reference

functions for xtext parsing More...

#include <qsmtpd/xtext.h>
#include <qsmtpd/addrparse.h>
#include <string.h>
#include <sys/types.h>

Functions

static unsigned char hexchar (const char ch)
 
static char hexdigit (const char *str)
 
ssize_t xtextlen (const char *str)
 

Detailed Description

functions for xtext parsing

Function Documentation

ssize_t xtextlen ( const char *  str)

get the length of xtext string

Parameters
strstring to parse
Returns
length of xtext
Return values
-1string is invalid
See also
RfC 2554