]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/util.h
Remove obsolete compatibility function declarations for snprintf() and vsnprintf()
[netatalk.git] / include / atalk / util.h
index 08c373948a3f7a9a7e77e53fcf26fe0d1d4d1f47..7000499ba68198ed1943e983bcbde0747b06cef2 100644 (file)
@@ -147,9 +147,10 @@ extern const char *getip_string(const struct sockaddr *sa);
 extern unsigned int getip_port(const struct sockaddr *sa);
 extern void apply_ip_mask(struct sockaddr *ai, int maskbits);
 extern int compare_ip(const struct sockaddr *sa1, const struct sockaddr *sa2);
+extern int tokenize_ip_port(const char *ipurl, char **address, char **port);
 
 /* Structures and functions dealing with dynamic pollfd arrays */
-enum fdtype {IPC_FD, LISTEN_FD, DISASOCIATED_IPC_FD};
+enum fdtype {IPC_FD, LISTEN_FD};
 struct polldata {
     enum fdtype fdtype; /* IPC fd or listening socket fd                 */
     void *data;         /* pointer to AFPconfig for listening socket and *