s/qmail  3.3.23
Next generation secure email transport
Data Structures | Macros | Typedefs | Functions
substdio.h File Reference

Go to the source code of this file.

Data Structures

struct  substdio
 

Macros

#define SUBSTDIO_FDBUF(op, fd, buf, len)   { (buf), 0, (len), (fd), (op) }
 
#define substdio_fileno(s)   ((s)->fd)
 
#define SUBSTDIO_INSIZE   8192
 
#define SUBSTDIO_OUTSIZE   8192
 
#define substdio_PEEK(s)   ( (s)->x + (s)->n )
 
#define substdio_SEEK(s, len)   ( ( (s)->p -= (len) ) , ( (s)->n += (len) ) )
 
#define substdio_BPUTC(s, c)
 

Typedefs

typedef struct substdio substdio
 

Functions

void substdio_fdbuf ()
 
int substdio_flush ()
 
int substdio_put ()
 
int substdio_bput ()
 
int substdio_putflush ()
 
int substdio_puts ()
 
int substdio_bputs ()
 
int substdio_putsflush ()
 
int substdio_get ()
 
int substdio_bget ()
 
int substdio_feed ()
 
char * substdio_peek ()
 
void substdio_seek ()
 
int substdio_copy ()
 

Macro Definition Documentation

◆ substdio_BPUTC

#define substdio_BPUTC (   s,
  c 
)
Value:
( ((s)->n != (s)->p) \
? ( (s)->x[(s)->p++] = (c), 0 ) \
: substdio_bput((s),&(c),1) \
)
void p(char *home, char *fifo, int uid, int gid, int mode)
Definition: install.c:39
void c(char *home, char *subdir, char *file, int uid, int gid, int mode)
Definition: install.c:57
int substdio_bput()
unsigned n
Definition: matchup.c:36

Definition at line 39 of file substdio.h.

◆ SUBSTDIO_FDBUF

#define SUBSTDIO_FDBUF (   op,
  fd,
  buf,
  len 
)    { (buf), 0, (len), (fd), (op) }

Definition at line 12 of file substdio.h.

◆ substdio_fileno

#define substdio_fileno (   s)    ((s)->fd)

Definition at line 31 of file substdio.h.

◆ SUBSTDIO_INSIZE

#define SUBSTDIO_INSIZE   8192

Definition at line 33 of file substdio.h.

◆ SUBSTDIO_OUTSIZE

#define SUBSTDIO_OUTSIZE   8192

Definition at line 34 of file substdio.h.

◆ substdio_PEEK

#define substdio_PEEK (   s)    ( (s)->x + (s)->n )

Definition at line 36 of file substdio.h.

◆ substdio_SEEK

#define substdio_SEEK (   s,
  len 
)    ( ( (s)->p -= (len) ) , ( (s)->n += (len) ) )

Definition at line 37 of file substdio.h.

Typedef Documentation

◆ substdio

typedef struct substdio substdio

Function Documentation

◆ substdio_bget()

int substdio_bget ( )

◆ substdio_bput()

int substdio_bput ( )
Here is the caller graph for this function:

◆ substdio_bputs()

int substdio_bputs ( )
Here is the caller graph for this function:

◆ substdio_copy()

int substdio_copy ( )
Here is the caller graph for this function:

◆ substdio_fdbuf()

void substdio_fdbuf ( )

◆ substdio_feed()

int substdio_feed ( )

◆ substdio_flush()

int substdio_flush ( )
Here is the caller graph for this function:

◆ substdio_get()

int substdio_get ( )

◆ substdio_peek()

char* substdio_peek ( )

◆ substdio_put()

int substdio_put ( )
Here is the caller graph for this function:

◆ substdio_putflush()

int substdio_putflush ( )
Here is the caller graph for this function:

◆ substdio_puts()

int substdio_puts ( )
Here is the caller graph for this function:

◆ substdio_putsflush()

int substdio_putsflush ( )
Here is the caller graph for this function:

◆ substdio_seek()

void substdio_seek ( )