about summary refs log tree commit diff stats
path: root/src/plugins/profapi.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-07-01 09:41:07 +0200
committerGitHub <noreply@github.com>2021-07-01 09:41:07 +0200
commitaae252e1b54c147bcf9404031e7862c0e955f571 (patch)
tree66844e760babe0b15f561b41165d1db8cb9d9ca6 /src/plugins/profapi.c
parentdc79c514be403cff93a1165b47d456182a03fd05 (diff)
parente4bf7335d889d82dedf962f2a2590f1a1b7455b6 (diff)
downloadprofani-tty-aae252e1b54c147bcf9404031e7862c0e955f571.tar.gz
Merge pull request #1529 from dustinlagoy/access-roster-from-plugins
Access roster from plugins
Diffstat (limited to 'src/plugins/profapi.c')
-rw-r--r--src/plugins/profapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c
index 75475631..9011f1a2 100644
--- a/src/plugins/profapi.c
+++ b/src/plugins/profapi.c
@@ -64,6 +64,8 @@ char* (*prof_get_current_recipient)(void) = NULL;
 char* (*prof_get_current_muc)(void) = NULL;
 int (*prof_current_win_is_console)(void) = NULL;
 char* (*prof_get_current_nick)(void) = NULL;
+char* (*prof_get_name_from_roster)(const char *barejid) = NULL;
+char* (*prof_get_barejid_from_roster)(const char *name) = NULL;
 char** (*prof_get_current_occupants)(void) = NULL;
 
 char* (*prof_get_room_nick)(const char *barejid) = NULL;