s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions
token822.c File Reference
#include "stralloc.h"
#include "alloc.h"
#include "genalloc.h"
#include "str.h"
#include "token822.h"
Include dependency graph for token822.c:

Go to the source code of this file.

Macros

#define NSUW
 
#define FLUSH   if (taaddr->len) if (!gotaddr(taout,taaddr,callback)) return -1;
 
#define FLUSHCOMMA
 
#define ADDRLEFT   if (!token822_append(taaddr,t--)) return -1;
 
#define OUTLEFT   if (!token822_append(taout,t--)) return -1;
 

Functions

void token822_reverse (token822_alloc *ta)
 
 GEN_ALLOC_ready (GEN_ALLOC_readyplus(token822_alloc, GEN_ALLOC_readyplus(struct token822, GEN_ALLOC_readyplus(t, GEN_ALLOC_readyplus(len, GEN_ALLOC_readyplus(a, GEN_ALLOC_readyplus(i, GEN_ALLOC_readyplus(n, GEN_ALLOC_readyplus(x, GEN_ALLOC_readyplus(30, token822_ready)
 
int token822_unparse (stralloc *sa, token822_alloc *ta, unsigned int linelen)
 
int token822_unquote (stralloc *sa, token822_alloc *ta)
 
int token822_parse (token822_alloc *ta, stralloc *sa, stralloc *buf)
 
int token822_addrlist (token822_alloc *taout, token822_alloc *taaddr, token822_alloc *ta, int(*callback)())
 

Macro Definition Documentation

◆ ADDRLEFT

#define ADDRLEFT   if (!token822_append(taaddr,t--)) return -1;

◆ FLUSH

#define FLUSH   if (taaddr->len) if (!gotaddr(taout,taaddr,callback)) return -1;

◆ FLUSHCOMMA

#define FLUSHCOMMA
Value:
if (taaddr->len) { \
if (!gotaddr(taout,taaddr,callback)) return -1; \
if (!token822_append(taout,&comma)) return -1; }
void gotaddr()
Definition: newaliases.c:109
int token822_append()

◆ NSUW

#define NSUW
Value:
s[0] = '\n'; s[1] = ' '; \
if (linee && (!linelen || (s - lineb <= linelen))) \
{ while (linee < s) { linee[0] = linee[2]; ++linee; } linee -= 2; } \
else { if (linee) lineb = linee + 1; linee = s; s += 2; }

◆ OUTLEFT

#define OUTLEFT   if (!token822_append(taout,t--)) return -1;

Function Documentation

◆ GEN_ALLOC_ready()

Definition at line 23 of file token822.c.

◆ token822_addrlist()

int token822_addrlist ( token822_alloc *  taout,
token822_alloc *  taaddr,
token822_alloc *  ta,
int(*)()  callback 
)

Definition at line 373 of file token822.c.

Here is the call graph for this function:

◆ token822_parse()

int token822_parse ( token822_alloc *  ta,
stralloc *  sa,
stralloc *  buf 
)

Definition at line 216 of file token822.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ token822_reverse()

void token822_reverse ( token822_alloc *  ta)

Definition at line 9 of file token822.c.

Here is the call graph for this function:

◆ token822_unparse()

int token822_unparse ( stralloc *  sa,
token822_alloc *  ta,
unsigned int  linelen 
)

Definition at line 72 of file token822.c.

◆ token822_unquote()

int token822_unquote ( stralloc *  sa,
token822_alloc *  ta 
)

Definition at line 166 of file token822.c.