about summary refs log tree commit diff stats
path: root/src/xmpp/bookmark.h
blob: e15b6eabc8542ac6f541f05c87dc4a6d2c553642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef BOOKMARK_H
#define BOOKMARK_H

#include <glib.h>

struct bookmark_t {
    char *jid;
    char *nick;
    gboolean autojoin;
};

typedef struct bookmark_t Bookmark;

void bookmark_request(void);
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);

#endif