diff options
Diffstat (limited to 'apidocs/c/profapi.h')
-rw-r--r-- | apidocs/c/profapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h index a1578739..e6562895 100644 --- a/apidocs/c/profapi.h +++ b/apidocs/c/profapi.h @@ -139,6 +139,12 @@ Retrieve the users nickname in a chat room, when in a chat room window. char* prof_get_current_nick(void); /** +Retrieve the nickname for a given barejid if it is in the roster. +@return the users nickname e.g. "eddie", or NULLL if the barejid is not in the roster. +*/ +char* prof_get_nick_from_roster(const char *barejid); + +/** Retrieve nicknames of all occupants in a chat room, when in a chat room window. @return nicknames of all occupants in the current room or an empty list if not in a chat room window. */ |