diff options
author | Marius Halden <marius.h@lden.org> | 2016-11-19 10:32:18 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2016-11-19 10:32:18 +0100 |
commit | 08e1027c558a25b0b4f9410048c185e89c7b347a (patch) | |
tree | c9c80be4e9984bfc52835b0eac0895f6dfc81b14 /protocols/nogaim.h | |
parent | ad5637a3fe2f8e25a88d910041791336e0c62271 (diff) | |
parent | 11d4123fe9a4d88d475bee6c623fb80af8fdbb0b (diff) |
Merge branch 'master' into patched-master
Diffstat (limited to 'protocols/nogaim.h')
-rw-r--r-- | protocols/nogaim.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h index b5a46524..3aa89c3b 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -158,6 +158,9 @@ typedef enum { /* The protocol is not suitable for OTR, see OPT_NOOTR */ PRPL_OPT_NOOTR = 1 << 12, + + /* This prpl is a placeholder for a missing protocol */ + PRPL_OPT_UNKNOWN_PROTOCOL = 1 << 13, } prpl_options_t; struct prpl { @@ -320,6 +323,8 @@ G_MODULE_EXPORT GList *get_protocols_disabled(); G_MODULE_EXPORT GSList *get_connections(); G_MODULE_EXPORT struct prpl *find_protocol(const char *name); G_MODULE_EXPORT gboolean is_protocol_disabled(const char *name); +G_MODULE_EXPORT struct prpl *make_unknown_protocol(const char *name); +G_MODULE_EXPORT char *explain_unknown_protocol(const char *name); /* When registering a new protocol, you should allocate space for a new prpl * struct, initialize it (set the function pointers to point to your * functions), finally call this function. */ |