summaryrefslogtreecommitdiff
path: root/pith/addrstring.h
diff options
context:
space:
mode:
authorEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
committerEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
commit094ca96844842928810f14844413109fc6cdd890 (patch)
treee60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /pith/addrstring.h
downloadalpine-094ca96844842928810f14844413109fc6cdd890.tar.xz
Initial Alpine Version
Diffstat (limited to 'pith/addrstring.h')
-rw-r--r--pith/addrstring.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/pith/addrstring.h b/pith/addrstring.h
new file mode 100644
index 00000000..16ae8e56
--- /dev/null
+++ b/pith/addrstring.h
@@ -0,0 +1,37 @@
+/*
+ * $Id: addrstring.h 770 2007-10-24 00:23:09Z hubert@u.washington.edu $
+ *
+ * ========================================================================
+ * Copyright 2006-2007 University of Washington
+ * Copyright 2013 Eduardo Chappa
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+#ifndef PITH_ADDRSTRING_INCLUDED
+#define PITH_ADDRSTRING_INCLUDED
+
+
+#define RAWFIELD "-RAW-FIELD-"
+
+
+/* exported protoypes */
+char *addr_string(ADDRESS *, char *, size_t);
+char *addr_string_mult(ADDRESS *, char *, size_t);
+char *simple_addr_string(ADDRESS *, char *, size_t);
+char *simple_mult_addr_string(ADDRESS *, char *, size_t, char *);
+char *encode_fullname_of_addrstring(char *, char *);
+char *decode_fullname_of_addrstring(char *, int);
+char *addr_list_string(ADDRESS *, char *(*)(ADDRESS *, char *, size_t), int);
+int est_size(ADDRESS *);
+int count_addrs(ADDRESS *);
+void a_little_addr_string(ADDRESS *, char *, size_t);
+
+
+#endif /* PITH_ADDRSTRING_INCLUDED */