diff options
Diffstat (limited to 'src/plugins/c_api.c')
-rw-r--r-- | src/plugins/c_api.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/c_api.c b/src/plugins/c_api.c index 38555237..74b5d92d 100644 --- a/src/plugins/c_api.c +++ b/src/plugins/c_api.c @@ -109,6 +109,12 @@ c_api_completer_remove(const char *key, char **items) } static void +c_api_completer_clear(const char *key) +{ + api_completer_clear(key); +} + +static void c_api_notify(const char *message, int timeout_ms, const char *category) { api_notify(message, category, timeout_ms); @@ -277,6 +283,7 @@ c_api_init(void) prof_register_timed = c_api_register_timed; prof_completer_add = c_api_completer_add; prof_completer_remove = c_api_completer_remove; + prof_completer_clear = c_api_completer_clear; prof_notify = c_api_notify; prof_send_line = c_api_send_line; prof_get_current_recipient = c_api_get_current_recipient; |