xref: /illumos-gate/usr/src/cmd/sendmail/include/sm/cf.h (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
3*7c478bd9Sstevel@tonic-gate  *      All rights reserved.
4*7c478bd9Sstevel@tonic-gate  *
5*7c478bd9Sstevel@tonic-gate  * By using this file, you agree to the terms and conditions set
6*7c478bd9Sstevel@tonic-gate  * forth in the LICENSE file which can be found at the top level of
7*7c478bd9Sstevel@tonic-gate  * the sendmail distribution.
8*7c478bd9Sstevel@tonic-gate  *
9*7c478bd9Sstevel@tonic-gate  *	$Id: cf.h,v 1.2 2001/03/08 03:23:07 ca Exp $
10*7c478bd9Sstevel@tonic-gate  */
11*7c478bd9Sstevel@tonic-gate 
12*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
13*7c478bd9Sstevel@tonic-gate 
14*7c478bd9Sstevel@tonic-gate #ifndef SM_CF_H
15*7c478bd9Sstevel@tonic-gate # define SM_CF_H
16*7c478bd9Sstevel@tonic-gate 
17*7c478bd9Sstevel@tonic-gate #include <sm/gen.h>
18*7c478bd9Sstevel@tonic-gate 
19*7c478bd9Sstevel@tonic-gate typedef struct
20*7c478bd9Sstevel@tonic-gate {
21*7c478bd9Sstevel@tonic-gate 	char *opt_name;
22*7c478bd9Sstevel@tonic-gate 	char *opt_val;
23*7c478bd9Sstevel@tonic-gate } SM_CF_OPT_T;
24*7c478bd9Sstevel@tonic-gate 
25*7c478bd9Sstevel@tonic-gate extern int
26*7c478bd9Sstevel@tonic-gate sm_cf_getopt __P((
27*7c478bd9Sstevel@tonic-gate 	char *path,
28*7c478bd9Sstevel@tonic-gate 	int optc,
29*7c478bd9Sstevel@tonic-gate 	SM_CF_OPT_T *optv));
30*7c478bd9Sstevel@tonic-gate 
31*7c478bd9Sstevel@tonic-gate #endif /* ! SM_CF_H */
32