aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-23 13:27:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-23 13:27:45 +0000
commitd050686aee0ad85364ceae6185c1e2698feb3e6e (patch)
tree48b7b47b1f55b27a87d6ebcf3a62f5bc2a75ad72 /src/libutil/str_util.h
parent1762eb9af61997d9acc3017e2e0fc6153b09acc2 (diff)
downloadrspamd-d050686aee0ad85364ceae6185c1e2698feb3e6e.tar.gz
rspamd-d050686aee0ad85364ceae6185c1e2698feb3e6e.zip
[Feature] Add url encoding function
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 941d141b4..ea3d97278 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -205,15 +205,6 @@ gchar * rspamd_encode_base64_fold (const guchar *in, gsize inlen, gint str_len,
gsize *outlen, enum rspamd_newlines_type how);
/**
- * Decode URL encoded string in-place and return new length of a string, src and dst are NULL terminated
- * @param dst
- * @param src
- * @param size
- * @return
- */
-gsize rspamd_decode_url (gchar *dst, const gchar *src, gsize size);
-
-/**
* Decode quoted-printable encoded buffer, input and output must not overlap
* @param in input
* @param inlen length of input
@@ -343,14 +334,6 @@ void rspamd_ucl_emit_fstring_comments (const ucl_object_t *obj,
rspamd_fstring_t **target,
const ucl_object_t *comments);
-guint rspamd_url_hash (gconstpointer u);
-
-/* Compare two emails for building emails hash */
-gboolean rspamd_emails_cmp (gconstpointer a, gconstpointer b);
-
-/* Compare two urls for building emails hash */
-gboolean rspamd_urls_cmp (gconstpointer a, gconstpointer b);
-
extern const guchar lc_map[256];
/**