Sync usage with man page.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / util / stringops.h
bloba8083df7adc9bf62f2ba66ba0f4813533d0137f9
1 /* $NetBSD$ */
3 #ifndef _STRINGOPS_H_INCLUDED_
4 #define _STRINGOPS_H_INCLUDED_
6 /*++
7 /* NAME
8 /* stringops 3h
9 /* SUMMARY
10 /* string operations
11 /* SYNOPSIS
12 /* #include <stringops.h>
13 /* DESCRIPTION
14 /* .nf
17 * Utility library.
19 #include <vstring.h>
22 * External interface.
24 extern char *printable(char *, int);
25 extern char *neuter(char *, const char *, int);
26 extern char *lowercase(char *);
27 extern char *uppercase(char *);
28 extern char *skipblanks(const char *);
29 extern char *trimblanks(char *, int);
30 extern char *concatenate(const char *,...);
31 extern char *mystrtok(char **, const char *);
32 extern char *translit(char *, const char *, const char *);
33 #ifndef HAVE_BASENAME
34 #define basename postfix_basename
35 extern char *basename(const char *);
36 #endif
37 extern char *sane_basename(VSTRING *, const char *);
38 extern char *sane_dirname(VSTRING *, const char *);
39 extern VSTRING *unescape(VSTRING *, const char *);
40 extern VSTRING *escape(VSTRING *, const char *, ssize_t);
41 extern int alldig(const char *);
42 extern int allprint(const char *);
43 extern int allspace(const char *);
44 extern int allascii(const char *);
45 extern const char *split_nameval(char *, char **, char **);
47 /* LICENSE
48 /* .ad
49 /* .fi
50 /* The Secure Mailer license must be distributed with this software.
51 /* AUTHOR(S)
52 /* Wietse Venema
53 /* IBM T.J. Watson Research
54 /* P.O. Box 704
55 /* Yorktown Heights, NY 10598, USA
56 /*--*/
58 #endif