2013-06-30 11:59:38 -04:00
|
|
|
|
|
|
|
#ifndef BOOKMARK_H
|
|
|
|
#define BOOKMARK_H
|
|
|
|
|
2013-07-14 16:58:02 -04:00
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
struct bookmark_t {
|
|
|
|
char *jid;
|
|
|
|
char *nick;
|
|
|
|
gboolean autojoin;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct bookmark_t Bookmark;
|
|
|
|
|
2013-06-30 11:59:38 -04:00
|
|
|
void bookmark_request(void);
|
2013-07-14 16:58:02 -04:00
|
|
|
void bookmark_add(const char *jid, const char *nick, gboolean autojoin);
|
|
|
|
void bookmark_remove(const char *jid, gboolean autojoin);
|
|
|
|
const GList *bookmark_get_list(void);
|
|
|
|
char *bookmark_find(char *search_str);
|
|
|
|
void bookmark_autocomplete_reset(void);
|
2013-06-30 11:59:38 -04:00
|
|
|
|
|
|
|
#endif
|