about summary refs log blame commit diff stats
path: root/src/xmpp/bookmark.h
blob: e15b6eabc8542ac6f541f05c87dc4a6d2c553642 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14



                  









                                   
                            




                                                                        

      
#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