* Addition of a link to the Apache License 2.0. This is available from
[alpine.git] / pith / addrstring.h
blob9617b91e0835057168a5e6d65096442574802169
1 /*
2 * $Id: addrstring.h 770 2007-10-24 00:23:09Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006-2007 University of Washington
6 * Copyright 2013-2020 Eduardo Chappa
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_ADDRSTRING_INCLUDED
18 #define PITH_ADDRSTRING_INCLUDED
21 #define RAWFIELD "-RAW-FIELD-"
24 /* exported prototypes */
25 char *addr_string(ADDRESS *, char *, size_t);
26 char *addr_string_mult(ADDRESS *, char *, size_t);
27 char *simple_addr_string(ADDRESS *, char *, size_t);
28 char *simple_mult_addr_string(ADDRESS *, char *, size_t, char *);
29 char *encode_fullname_of_addrstring(char *, char *);
30 char *decode_fullname_of_addrstring(char *, int);
31 char *addr_list_string(ADDRESS *, char *(*)(ADDRESS *, char *, size_t), int);
32 int est_size(ADDRESS *);
33 int count_addrs(ADDRESS *);
34 void a_little_addr_string(ADDRESS *, char *, size_t);
37 #endif /* PITH_ADDRSTRING_INCLUDED */