File: cmdline.h

package info (click to toggle)
cpipe 3.0.0-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 136 kB
  • ctags: 58
  • sloc: ansic: 772; makefile: 73
file content (40 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef __cmdline__
#define __cmdline__
/*****
  command line parser interface -- generated by clig 
  (http://wsd.iitb.fhg.de/~kir/clighome/)

  The command line parser `clig':
  (C) 1995---2001 Harald Kirsch (kirschh@lionbioscience.com)
*****/

typedef struct s_Cmdline {
  /***** -b: buffer size in kB */
  char bsizeP;
  int bsize;
  int bsizeC;
  /***** -vt: show throughput */
  char vtP;
  /***** -vr: show read-times */
  char vrP;
  /***** -vw: show write-times */
  char vwP;
  /***** -ngr: non-greedy read. Don't enforce a full buffer
on read before starting to write */
  char ngrP;
  /***** -s: throughput speed limit in kB/s */
  char speedP;
  double speed;
  int speedC;
  /***** uninterpreted command line parameters */
  int argc;
  /*@null*/char **argv;
} Cmdline;


extern char *Program;
extern void usage(void);
extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);

#endif