Revision 22512,
1.1 KB
checked in by ghudson, 19 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r22511,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #ifndef GE_STATE_H |
---|
2 | #define GE_STATE_H |
---|
3 | |
---|
4 | #include <gdk/gdk.h> |
---|
5 | |
---|
6 | typedef struct EncryptionState { |
---|
7 | gboolean incoming_encrypted; |
---|
8 | gboolean outgoing_encrypted; |
---|
9 | gboolean has_been_notified; |
---|
10 | gboolean is_capable; |
---|
11 | } EncryptionState; |
---|
12 | |
---|
13 | void GE_state_init(); |
---|
14 | void GE_state_delete(); |
---|
15 | |
---|
16 | |
---|
17 | EncryptionState* GE_get_state(const GaimAccount *account, const gchar* name); |
---|
18 | void GE_reset_state(const GaimAccount *account, const gchar* name); |
---|
19 | |
---|
20 | gboolean GE_get_tx_encryption(const GaimAccount *account, const gchar* name); |
---|
21 | void GE_set_tx_encryption(const GaimAccount *account, |
---|
22 | const gchar* name, gboolean new_state); |
---|
23 | |
---|
24 | void GE_set_capable(const GaimAccount *account, const gchar* name, |
---|
25 | gboolean cap); |
---|
26 | |
---|
27 | gboolean GE_has_been_notified(const GaimAccount *account, const gchar* name); |
---|
28 | void GE_set_notified(const GaimAccount *account, const gchar* name, |
---|
29 | gboolean newstate); |
---|
30 | |
---|
31 | void GE_set_rx_encryption(const GaimAccount *account, const gchar* name, |
---|
32 | gboolean encrypted); |
---|
33 | |
---|
34 | gboolean GE_get_default_notified(const GaimAccount *account, const gchar* name); |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.