diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-24 23:23:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-24 23:23:37 +0000 |
commit | d100debaa37a7477fa06bb95ca5087ed70f99cba (patch) | |
tree | c913d1c541646f68b95d444f0b0ce00218bf8fc6 /src/libutil/addr.h | |
parent | 1678075da31b6939396a95b9aa2c93c90ee7485b (diff) | |
download | rspamd-d100debaa37a7477fa06bb95ca5087ed70f99cba.tar.gz rspamd-d100debaa37a7477fa06bb95ca5087ed70f99cba.zip |
Rework parsing of IP addresses
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r-- | src/libutil/addr.h | 14 |
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 */ |