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
* -Dianora
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
*/