diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-01 15:58:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-01 15:58:23 +0100 |
commit | 6ec67947dadeba207104ac0e2c65c9e10a3a580d (patch) | |
tree | 85e7fdbbf5081c779bdec6bba723fb35815f2ff9 /src/libutil/util.h | |
parent | a8c9abd046add08c8ac8f91c3c12d5c823fb44e3 (diff) | |
download | rspamd-6ec67947dadeba207104ac0e2c65c9e10a3a580d.tar.gz rspamd-6ec67947dadeba207104ac0e2c65c9e10a3a580d.zip |
Rework addresses parsing.
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 1b95ab8a0..40d8004e3 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -408,15 +408,6 @@ void rspamd_hash_table_copy (GHashTable *src, GHashTable *dst, gpointer rspamd_str_pool_copy (gconstpointer data, gpointer ud); /** - * Parse ipv4 address with optional mask in CIDR format - * @param line cidr notation of ipv4 address - * @param ina destination address - * @param mask destination mask - * @return - */ -gboolean parse_ipmask_v4 (const char *line, struct in_addr *ina, int *mask); - -/** * Read passphrase from tty * @param buf buffer to fill with a password * @param size size of the buffer @@ -495,6 +486,6 @@ int rspamd_inet_address_connect (rspamd_inet_addr_t *addr, gint type, * @param inlen input length * @return freshly allocated base32 encoding of a specified string */ -gchar * rspamd_encode_base32(guchar *in, gsize inlen); +gchar * rspamd_encode_base32 (guchar *in, gsize inlen); #endif |