diff options
author | Marvin W <git@larma.de> | 2020-01-09 13:39:36 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-01-09 13:39:36 +0100 |
commit | b2af8c51124819d7c5d0bd348c52a0b15f54d582 (patch) | |
tree | e0e762d61dbd980bc9322b43d76461038671944a /plugins/signal-protocol/src/signal_helper.h | |
parent | 3650288a111625a24515e511fa7f1feff697b726 (diff) | |
download | dino-b2af8c51124819d7c5d0bd348c52a0b15f54d582.tar.gz dino-b2af8c51124819d7c5d0bd348c52a0b15f54d582.zip |
Fix various typing issues in signal bindings
Diffstat (limited to 'plugins/signal-protocol/src/signal_helper.h')
-rw-r--r-- | plugins/signal-protocol/src/signal_helper.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/signal-protocol/src/signal_helper.h b/plugins/signal-protocol/src/signal_helper.h index 2c2c983f..949a3c7b 100644 --- a/plugins/signal-protocol/src/signal_helper.h +++ b/plugins/signal-protocol/src/signal_helper.h @@ -7,8 +7,8 @@ #define SG_CIPHER_AES_GCM_NOPADDING 1000 -signal_type_base* signal_type_ref_vapi(signal_type_base* what); -signal_type_base* signal_type_unref_vapi(signal_type_base* what); +signal_type_base* signal_type_ref_vapi(void* what); +signal_type_base* signal_type_unref_vapi(void* what); signal_protocol_address* signal_protocol_address_new(const gchar* name, int32_t device_id); void signal_protocol_address_free(signal_protocol_address* ptr); @@ -17,9 +17,6 @@ gchar* signal_protocol_address_get_name(signal_protocol_address* self); void signal_protocol_address_set_device_id(signal_protocol_address* self, int32_t device_id); int32_t signal_protocol_address_get_device_id(signal_protocol_address* self); -session_pre_key* session_pre_key_new(uint32_t pre_key_id, ec_key_pair* pair, int* err); -session_signed_pre_key* session_signed_pre_key_new(uint32_t id, uint64_t timestamp, ec_key_pair* pair, uint8_t* key, int key_len, int* err); - int signal_vala_randomize(uint8_t *data, size_t len); int signal_vala_random_generator(uint8_t *data, size_t len, void *user_data); int signal_vala_hmac_sha256_init(void **hmac_context, const uint8_t *key, size_t key_len, void *user_data); |