#include "hest.h"
#include "privateHest.h"
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 SETBUFF | ( | B, | |||
O | ) |
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) ? "]" : "");
void _hestPrintStr | ( | FILE * | f, | |
int | indent, | |||
int | already, | |||
int | width, | |||
const char * | _str, | |||
int | bslash | |||
) |
void hestInfo | ( | FILE * | file, | |
const char * | argv0, | |||
const char * | info, | |||
hestParm * | _parm | |||
) |
int hestMinNumArgs | ( | hestOpt * | opt | ) |