3 #ifndef _ARGV_H_INCLUDED_
4 #define _ARGV_H_INCLUDED_
10 /* string array utilities
20 ssize_t len
; /* number of array elements */
21 ssize_t argc
; /* array elements in use */
22 char **argv
; /* string array */
25 extern ARGV
*argv_alloc(ssize_t
);
26 extern void argv_add(ARGV
*,...);
27 extern void argv_addn(ARGV
*,...);
28 extern void argv_terminate(ARGV
*);
29 extern void argv_truncate(ARGV
*, ssize_t
);
30 extern ARGV
*argv_free(ARGV
*);
32 extern ARGV
*argv_split(const char *, const char *);
33 extern ARGV
*argv_split_count(const char *, const char *, ssize_t
);
34 extern ARGV
*argv_split_append(ARGV
*, const char *, const char *);
36 #define ARGV_END ((char *) 0)
41 /* The Secure Mailer license must be distributed with this software.
44 /* IBM T.J. Watson Research
46 /* Yorktown Heights, NY 10598, USA