common.h
changeset 26 6d615203d963
parent 25 a1e271de54c2
--- a/common.h	Thu Jun 26 03:31:59 2008 +0300
+++ b/common.h	Sun Jul 06 23:33:24 2008 +0300
@@ -62,21 +62,3 @@
 #define INFO(...) (void) (0)
 #endif
 
-/*
- * Parse a host:port string.
- *
- * Valid formats:
- *  host
- *  host:port
- *  [host]
- *  [host]:port
- *
- * The contents of the given hostport string *will* be modified.
- *
- * The value of *port will be set to NULL if no port was given.
- *
- * Returns 0 and sets *host if succesfull, nonzero otherwise.
- *
- */
-int parse_hostport (char *hostport, char **host, char **port);
-