summaryrefslogtreecommitdiff
path: root/src/core/wee-hdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-hdata.h')
-rw-r--r--src/core/wee-hdata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/wee-hdata.h b/src/core/wee-hdata.h
index 3139af4ef..f67637e8f 100644
--- a/src/core/wee-hdata.h
+++ b/src/core/wee-hdata.h
@@ -48,6 +48,7 @@ struct t_hdata
struct t_hashtable *hash_list; /* hashtable with pointers on lists */
/* (used to search objects) */
+ char create_allowed; /* create allowed? */
char delete_allowed; /* delete allowed? */
int (*callback_update) /* update callback */
(void *data,
@@ -67,7 +68,7 @@ extern char *hdata_type_string[];
extern struct t_hdata *hdata_new (struct t_weechat_plugin *plugin,
const char *hdata_name, const char *var_prev,
const char *var_next,
- int delete_allowed,
+ int create_allowed, int delete_allowed,
int (*callback_update)(void *data,
struct t_hdata *hdata,
void *pointer,