summaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-24 23:23:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-24 23:23:37 +0000
commitd100debaa37a7477fa06bb95ca5087ed70f99cba (patch)
treec913d1c541646f68b95d444f0b0ce00218bf8fc6 /src/libutil/addr.h
parent1678075da31b6939396a95b9aa2c93c90ee7485b (diff)
downloadrspamd-d100debaa37a7477fa06bb95ca5087ed70f99cba.tar.gz
rspamd-d100debaa37a7477fa06bb95ca5087ed70f99cba.zip
Rework parsing of IP addresses
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r--src/libutil/addr.h14
1 files changed, 0 insertions, 14 deletions
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
@@ -206,16 +202,6 @@ gboolean rspamd_parse_host_port_priority (const gchar *str,
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
*/