1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

Add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API

This commit is contained in:
Sebastien Helleu
2010-03-20 13:32:08 +01:00
parent 2801b8437c
commit 9d96090d7d
11 changed files with 712 additions and 45 deletions
+5 -6
View File
@@ -33,6 +33,11 @@ struct t_infolist;
struct t_weelist;
struct timeval;
/*
* IMPORTANT NOTE for WeeChat developers: if you update, add or remove
* some functions in this file, then please update API version below.
*/
/* API version (used to check that plugin has same API and can be loaded) */
#define WEECHAT_PLUGIN_API_VERSION "20100302-01"
@@ -131,12 +136,6 @@ struct t_weechat_plugin
/* plugin functions (API) */
/*
* IMPORTANT NOTE for WeeChat developers: always add new API functions
* at the END of functions, for keeping backward compatibility with
* existing plugins
*/
/* plugins */
const char *(*plugin_get_name) (struct t_weechat_plugin *plugin);