eĿlipsis
a language independent preprocessor
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
ellipsis-options.c File Reference
#include "ellipsis-options.h"
#include <string.h>
Include dependency graph for ellipsis-options.c:

Enumerations

enum  : size_t {
  ellipsis‿options‿start = 0 , ellipsis‿options‿other = (size_t)-1 , ellipsis‿options‿here = (size_t)-2 , ellipsis‿options‿more = (size_t)-3 ,
  ellipsis‿options‿over = (size_t)-4
}
 

Functions

char const * ellipsis‿options‿argument (ellipsis‿options *p)
 
char const * ellipsis‿options‿current (ellipsis‿options *p)
 
char ellipsis‿options‿get (ellipsis‿options *p)
 
char const * ellipsis‿options‿longname (ellipsis‿options *p)
 
void ellipsis‿options‿next (ellipsis‿options *p)
 
char const * ellipsis‿options‿progname (ellipsis‿options *p)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : size_t

The internal state of option character processing as stored in the member ellipsis‿options‿pos

Enumerator
ellipsis‿options‿start 

processing is just starting for the current parameter

ellipsis‿options‿other 

an argument to the option character was detected as the next argument

ellipsis‿options‿here 

an argument to the option character was detected as continuation of the argument

ellipsis‿options‿more 

option character processing is terminated, only non-options remain

ellipsis‿options‿over 

movind to the next option character would overflow

Function Documentation

◆ ellipsis‿options‿argument()

char const * ellipsis‿options‿argument ( ellipsis‿options p)

Referenced by main().

Here is the caller graph for this function:

◆ ellipsis‿options‿current()

char const * ellipsis‿options‿current ( ellipsis‿options p)

Referenced by main().

Here is the caller graph for this function:

◆ ellipsis‿options‿get()

char ellipsis‿options‿get ( ellipsis‿options p)

◆ ellipsis‿options‿longname()

char const * ellipsis‿options‿longname ( ellipsis‿options p)

◆ ellipsis‿options‿next()

void ellipsis‿options‿next ( ellipsis‿options p)

Referenced by main().

Here is the caller graph for this function:

◆ ellipsis‿options‿progname()

char const * ellipsis‿options‿progname ( ellipsis‿options p)

Referenced by main().

Here is the caller graph for this function: