s/qmail  3.3.23
Next generation secure email transport
Macros | Functions | Variables
subgetopt.c File Reference
#include "subgetopt.h"
Include dependency graph for subgetopt.c:

Go to the source code of this file.

Macros

#define SUBGETOPTNOSHORT
 
#define sgopt   subgetopt
 
#define optind   subgetoptind
 
#define optpos   subgetoptpos
 
#define optarg   subgetoptarg
 
#define optproblem   subgetoptproblem
 
#define optdone   subgetoptdone
 

Functions

int sgopt (int argc, char **argv, char *opts)
 

Variables

int optind = 1
 
int optpos = 0
 
char * optarg = 0
 
int optproblem = 0
 
int optdone = SUBGETOPTDONE
 

Macro Definition Documentation

◆ optarg

#define optarg   subgetoptarg

Definition at line 18 of file subgetopt.c.

◆ optdone

#define optdone   subgetoptdone

Definition at line 20 of file subgetopt.c.

◆ optind

#define optind   subgetoptind

Definition at line 16 of file subgetopt.c.

◆ optpos

#define optpos   subgetoptpos

Definition at line 17 of file subgetopt.c.

◆ optproblem

#define optproblem   subgetoptproblem

Definition at line 19 of file subgetopt.c.

◆ sgopt

#define sgopt   subgetopt

Definition at line 15 of file subgetopt.c.

◆ SUBGETOPTNOSHORT

#define SUBGETOPTNOSHORT

Definition at line 12 of file subgetopt.c.

Function Documentation

◆ sgopt()

int sgopt ( int  argc,
char **  argv,
char *  opts 
)

Definition at line 28 of file subgetopt.c.

Variable Documentation

◆ optarg

char* optarg = 0

Definition at line 24 of file subgetopt.c.

◆ optdone

int optdone = SUBGETOPTDONE

Definition at line 26 of file subgetopt.c.

◆ optind

int optind = 1

Definition at line 22 of file subgetopt.c.

◆ optpos

int optpos = 0

Definition at line 23 of file subgetopt.c.

◆ optproblem

int optproblem = 0

Definition at line 25 of file subgetopt.c.