mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
b9d29e9aa5
'/bookmark add' and '/bookmark remove' ain't finished
23 lines
459 B
C
23 lines
459 B
C
|
|
#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
|