about summary refs log tree commit diff stats
path: root/src/plugins/profapi.h
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.h
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.h')
-rw-r--r--src/plugins/profapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/profapi.h b/src/plugins/profapi.h
index cfca45c3..7e607f09 100644
--- a/src/plugins/profapi.h
+++ b/src/plugins/profapi.h
@@ -74,6 +74,8 @@ char* (*prof_get_current_recipient)(void);
 char* (*prof_get_current_muc)(void);
 int (*prof_current_win_is_console)(void);
 char* (*prof_get_current_nick)(void);
+char* (*prof_get_name_from_roster)(const char *barejid);
+char* (*prof_get_barejid_from_roster)(const char *name);
 char** (*prof_get_current_occupants)(void);
 
 char* (*prof_get_room_nick)(const char *barejid);