Add strarray_find_dest(). Useful for checking whether a server_tag/target or target is found in a vector of strings.

git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5002 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Alexander Færøy 2009-02-07 23:03:24 +00:00 committed by ahf
commit 32e01a5a06
3 changed files with 23 additions and 9 deletions

View file

@ -6,4 +6,8 @@ void fe_common_core_init(void);
void fe_common_core_deinit(void);
void fe_common_core_finish_init(void);
/* Returns TRUE if "dest->target" or "dest->server_tag/dest->target" is found in
* array, otherwise FALSE. */
gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest);
#endif