src/hest/usage.c File Reference

#include "hest.h"
#include "privateHest.h"

Include dependency graph for usage.c:


Defines

#define SETBUFF(B, O)

Functions

void _hestSetBuff (char *B, hestOpt *O, hestParm *P, int showshort, int showlong)
void _hestPrintStr (FILE *f, int indent, int already, int width, const char *_str, int bslash)
int hestMinNumArgs (hestOpt *opt)
void hestInfo (FILE *file, const char *argv0, const char *info, hestParm *_parm)
void hestUsage (FILE *f, hestOpt *opt, const char *argv0, hestParm *_parm)
void hestGlossary (FILE *f, hestOpt *opt, hestParm *_parm)

Define Documentation

#define SETBUFF ( B,
 ) 

Value:

strcat(B, O.flag ? "-" : ""), \
  strcat(B, O.flag ? O.flag : ""), \
  strcat(B, O.flag && (O.min || _hestMax(O.max)) ? "\t" : ""), \
  strcat(B, !O.min && _hestMax(O.max) ? "[" : ""), \
  strcat(B, O.min || _hestMax(O.max) ? "<" : ""), \
  strcat(B, O.min || _hestMax(O.max) ? O.name : ""), \
  strcat(B, (O.min < _hestMax(O.max) && (_hestMax(O.max) > 1)) ? " ...": ""), \
  strcat(B, O.min || _hestMax(O.max) ? ">" : ""), \
  strcat(B, !O.min && _hestMax(O.max) ? "]" : "");


Function Documentation

void _hestPrintStr ( FILE *  f,
int  indent,
int  already,
int  width,
const char *  _str,
int  bslash 
)

void _hestSetBuff ( char *  B,
hestOpt O,
hestParm P,
int  showshort,
int  showlong 
)

void hestGlossary ( FILE *  f,
hestOpt opt,
hestParm _parm 
)

void hestInfo ( FILE *  file,
const char *  argv0,
const char *  info,
hestParm _parm 
)

int hestMinNumArgs ( hestOpt opt  ) 

void hestUsage ( FILE *  f,
hestOpt opt,
const char *  argv0,
hestParm _parm 
)


Generated on Sat May 9 03:55:21 2009 for Teem by  doxygen 1.5.9