From d100debaa37a7477fa06bb95ca5087ed70f99cba Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 24 Jan 2016 23:23:37 +0000 Subject: Rework parsing of IP addresses --- src/libutil/addr.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/libutil/addr.h') diff --git a/src/libutil/addr.h b/src/libutil/addr.h index b2075f7f0..72d7beb07 100644 --- a/src/libutil/addr.h +++ b/src/libutil/addr.h @@ -189,10 +189,6 @@ gboolean rspamd_ip_is_valid (const rspamd_inet_addr_t *addr); */ gint rspamd_accept_from_socket (gint sock, rspamd_inet_addr_t **addr); -gboolean rspamd_parse_host_port_priority_strv (gchar **tokens, - GPtrArray **addrs, guint *priority, - gchar **name, guint default_port, rspamd_mempool_t *pool); - /** * Parse host[:port[:priority]] line * @param ina host address @@ -205,16 +201,6 @@ gboolean rspamd_parse_host_port_priority (const gchar *str, guint *priority, gchar **name, guint default_port, rspamd_mempool_t *pool); -/** - * Parse host:port line - * @param ina host address - * @param port port - * @return TRUE if string was parsed - */ -gboolean rspamd_parse_host_port (const gchar *str, - GPtrArray **addrs, - gchar **name, guint default_port, rspamd_mempool_t *pool); - /** * Destroy the specified IP address * @param addr -- cgit v1.2.3