Added function to create room jid from room and nick

This commit is contained in:
James Booth
2012-11-10 18:51:50 +00:00
parent 77888c3841
commit 7958a450bd
5 changed files with 42 additions and 9 deletions

View File

@@ -30,6 +30,7 @@ void room_leave(const char * const room);
gboolean room_is_active(const char * const full_room_jid);
char * room_get_nick_for_room(const char * const room);
char * room_get_room_from_full_jid(const char * const full_room_jid);
char * room_get_nick_from_full_jid(const char * const full_room_jid);
gboolean room_parse_room_jid(const char * const full_room_jid, char **room,
char **nick);
void room_add_to_roster(const char * const room, const char * const nick);
@@ -37,5 +38,7 @@ GList * room_get_roster(const char * const room);
void room_set_roster_received(const char * const room);
gboolean room_get_roster_received(const char * const room);
void room_remove_from_roster(const char * const room, const char * const nick);
char * room_create_full_room_jid(const char * const room,
const char * const nick);
#endif