forked from necrosis/slack-libpurple
-
Notifications
You must be signed in to change notification settings - Fork 41
/
slack-blist.h
26 lines (19 loc) · 898 Bytes
/
slack-blist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _PURPLE_SLACK_BLIST_H
#define _PURPLE_SLACK_BLIST_H
#include "slack.h"
#include "slack-object.h"
/* the key we store the channel ID in */
#define SLACK_BLIST_KEY "slack"
void slack_blist_uncache(SlackAccount *sa, PurpleBlistNode *b);
void slack_blist_cache(SlackAccount *sa, PurpleBlistNode *b, const char *id);
SlackObject *slack_blist_node_get_obj(PurpleBlistNode *b, SlackAccount **);
/* Initialization */
void slack_blist_init(SlackAccount *sa);
/* Purple protocol handlers */
PurpleChat *slack_find_blist_chat(PurpleAccount *account, const char *name);
GList *slack_blist_node_menu(PurpleBlistNode *buddy);
PurpleRoomlist *slack_roomlist_get_list(PurpleConnection *gc);
void slack_roomlist_expand_category(PurpleRoomlist *list, PurpleRoomlistRoom *parent);
void slack_roomlist_cancel(PurpleRoomlist *list);
void slack_buddy_free(PurpleBuddy *b);
#endif // _PURPLE_SLACK_BLIST_H