#ifdef NO_DUPE_MULTI_MESSAGES
extern char *canonize(char *);
#endif
-/*
- * inetntoa - optimized inet_ntoa
- */
-const char *inetntoa(const char *in_addr);
-
-/*
- * inetntop()
- * inetpton()
- * portable interfaces for inet_ntop() and inet_pton()
- */
-const char *inetntop(int af, const void *src, char *dst, unsigned int size);
-int inetpton(int af, const char *src, void *dst);
-const char *inetntop_sock(struct sockaddr *src, char *dst, unsigned int size);
-int inetpton_sock(const char *src, struct sockaddr *dst);
-
-#ifndef HAVE_STRLCPY
-size_t strlcpy(char *dst, const char *src, size_t siz);
-#endif
-
-#ifndef HAVE_STRLCAT
-size_t strlcat(char *dst, const char *src, size_t siz);
-#endif
-
-#ifdef HAVE_STRNDUP
-#define DupNString(x, y, len) do { x = strndup(y, len); if(x == NULL) outofmemory(); } while (0)
-#else
-#define DupNString(x, y, len) do { x = malloc(len+1); if(x == NULL) outofmemory(); strlcpy(x, y, len+1); } while(0)
-#endif
/*
* clean_string - cleanup control and high ascii characters
*/
char *strip_tabs(char *dest, const unsigned char *src, size_t len);
-const char *myctime(time_t);
-
#define EmptyString(x) ((x) == NULL || *(x) == '\0')
#define CheckEmpty(x) EmptyString(x) ? "" : x
char *strtoken(char **save, char *str, const char *fs);
-unsigned char *ircd_base64_encode(const unsigned char *str, int length);
-unsigned char *ircd_base64_decode(const unsigned char *str, int length, int *ret);
-
/*
* character macros
*/