xref: /illumos-gate/usr/src/cmd/sendmail/include/sm/cf.h (revision 2a8bcb4e)
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 #ifndef SM_CF_H
13*7c478bd9Sstevel@tonic-gate # define SM_CF_H
14*7c478bd9Sstevel@tonic-gate 
15*7c478bd9Sstevel@tonic-gate #include <sm/gen.h>
16*7c478bd9Sstevel@tonic-gate 
17*7c478bd9Sstevel@tonic-gate typedef struct
18*7c478bd9Sstevel@tonic-gate {
19*7c478bd9Sstevel@tonic-gate 	char *opt_name;
20*7c478bd9Sstevel@tonic-gate 	char *opt_val;
21*7c478bd9Sstevel@tonic-gate } SM_CF_OPT_T;
22*7c478bd9Sstevel@tonic-gate 
23*7c478bd9Sstevel@tonic-gate extern int
24*7c478bd9Sstevel@tonic-gate sm_cf_getopt __P((
25*7c478bd9Sstevel@tonic-gate 	char *path,
26*7c478bd9Sstevel@tonic-gate 	int optc,
27*7c478bd9Sstevel@tonic-gate 	SM_CF_OPT_T *optv));
28*7c478bd9Sstevel@tonic-gate 
29*7c478bd9Sstevel@tonic-gate #endif /* ! SM_CF_H */
30