xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/argv_attr.h (revision 67b9b338a7386232ac596b5fd0cd5a9cc8a03c71)
1 /*	$NetBSD: argv_attr.h,v 1.3 2022/10/08 16:12:50 christos Exp $	*/
2 
3 #ifndef _ARGV_ATTR_H_INCLUDED_
4 #define _ARGV_ATTR_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	argv_attr 3h
9 /* SUMMARY
10 /*	argv serialization/deserialization
11 /* SYNOPSIS
12 /*	#include <argv_attr.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <argv.h>
20 #include <attr.h>
21 #include <check_arg.h>
22 #include <vstream.h>
23 
24  /*
25   * External API.
26   */
27 #define ARGV_ATTR_SIZE	"argv_size"
28 #define ARGV_ATTR_VALUE	"argv_value"
29 #define ARGV_ATTR_MAX	1024
30 
31 extern int argv_attr_print(ATTR_PRINT_COMMON_FN, VSTREAM *, int, const void *);
32 extern int argv_attr_scan(ATTR_SCAN_COMMON_FN, VSTREAM *, int, void *);
33 
34 /* LICENSE
35 /* .ad
36 /* .fi
37 /*	The Secure Mailer license must be distributed with this software.
38 /* AUTHOR(S)
39 /*	Wietse Venema
40 /*	Google, Inc.
41 /*	111 8th Avenue
42 /*	New York, NY 10011, USA
43 /*--*/
44 
45 #endif
46