summaryrefslogtreecommitdiffstats
path: root/tcpd/argparse.h
blob: 6727108cc42608cf5d78dd53b9a11391503e7fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef	argparse_h
#define	argparse_h

/*
** Copyright 2000 Double Precision, Inc.
** See COPYING for distribution information.
*/


#include	"config.h"

struct args {
	const char *name;
	const char **valuep;
	void (*funcp)(const char *);
	} ;

int argparse(int argc, char **, struct args *);

#endif