state.h

来自「一个windows上的加解密程式 提供方便的介面让使用者操作」· C头文件 代码 · 共 37 行

H
37
字号
#ifndef GE_STATE_H#define GE_STATE_H#include <gdk/gdk.h>typedef struct EncryptionState {   gboolean incoming_encrypted;   gboolean outgoing_encrypted;   gboolean has_been_notified;   gboolean is_capable;} EncryptionState;void GE_state_init();void GE_state_delete();EncryptionState* GE_get_state(const GaimAccount *account, const gchar* name);void GE_reset_state(const GaimAccount *account, const gchar* name);gboolean GE_get_tx_encryption(const GaimAccount *account, const gchar* name);void     GE_set_tx_encryption(const GaimAccount *account,                               const gchar* name, gboolean new_state);void     GE_set_capable(const GaimAccount *account, const gchar* name,                        gboolean cap);gboolean GE_has_been_notified(const GaimAccount *account, const gchar* name);void     GE_set_notified(const GaimAccount *account, const gchar* name,                         gboolean newstate);void     GE_set_rx_encryption(const GaimAccount *account, const gchar* name,                              gboolean encrypted);gboolean  GE_get_default_notified(const GaimAccount *account, const gchar* name);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?