diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-24 20:16:53 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-24 20:16:53 +0300 |
commit | 1cd34f5283bcf1d4973a351dc5235094608e3d2d (patch) | |
tree | 2d6185294cfea7c3c062c8d2123df96f5e02e1b0 /src/fstring.h | |
parent | 606128de4cb33a2727d6609df46ecf0c72006a73 (diff) | |
download | rspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.tar.gz rspamd-1cd34f5283bcf1d4973a351dc5235094608e3d2d.zip |
* Add initial LMTP support and LDA delivery to rspamd
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fstring.h b/src/fstring.h index 000ba74c6..f5d7fffa3 100644 --- a/src/fstring.h +++ b/src/fstring.h @@ -43,6 +43,11 @@ ssize_t fstrrchr (f_str_t *src, char c); ssize_t fstrstr (f_str_t *orig, f_str_t *pattern); /* + * Search for pattern in orig ignoring case + */ +ssize_t fstrstri (f_str_t *orig, f_str_t *pattern); + +/* * Split string by tokens * word contains parsed word */ @@ -88,7 +93,6 @@ f_str_t* fstrgrow (memory_pool_t *pool, f_str_t *orig, size_t newlen); */ uint32_t fstrhash (f_str_t *str); - /* * Make copy of string to 0-terminated string */ |