File: evalopt.h

package info (click to toggle)
fdclone 3.01b-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,772 kB
  • ctags: 8,674
  • sloc: ansic: 100,552; makefile: 4,497; sh: 1,480; sed: 224
file content (21 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 *	evalopt.h
 *
 *	definitions & function prototype declarations for "evalopt.c"
 */

#ifndef	__EVALOPT_H_
#define	__EVALOPT_H_

typedef struct _opt_t {
	int opt;
	int *var;
	int val;
	CONST char *argval;
} opt_t;

extern VOID initopt __P_((CONST opt_t *));
extern VOID optusage __P_((CONST char *, CONST char*, CONST opt_t *));
extern int evalopt __P_((int, char *CONST *, CONST opt_t *));

#endif	/* __EVALOPT_H_ */