Skip to content

Commit

Permalink
libsignalgo: update libsignal to v0.51.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jun 14, 2024
1 parent 20e5f43 commit 790152b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/libsignalgo/libsignal
Submodule libsignal updated 105 files
10 changes: 10 additions & 0 deletions pkg/libsignalgo/libsignal-ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ typedef struct SignalSgxClientState SignalSgxClientState;

/**
* The top-level error type (opaquely) returned to C clients when something goes wrong.
*
* Ideally this would use [ThinBox][], and then we wouldn't need an extra level of indirection when
* returning it to C, but unfortunately that isn't stable yet.
*
* [ThinBox]: https://doc.rust-lang.org/std/boxed/struct.ThinBox.html
*/
typedef struct SignalFfiError SignalFfiError;

Expand Down Expand Up @@ -634,6 +639,8 @@ typedef void (*SignalReceivedIncomingMessage)(void *ctx, SignalOwnedBuffer envel

typedef void (*SignalReceivedQueueEmpty)(void *ctx);

typedef void (*SignalConnectionInterrupted)(void *ctx);

typedef void (*SignalDestroyChatListener)(void *ctx);

/**
Expand All @@ -647,6 +654,7 @@ typedef struct {
void *ctx;
SignalReceivedIncomingMessage received_incoming_message;
SignalReceivedQueueEmpty received_queue_empty;
SignalConnectionInterrupted connection_interrupted;
SignalDestroyChatListener destroy;
} SignalFfiChatListenerStruct;

Expand Down Expand Up @@ -1572,6 +1580,8 @@ SignalFfiError *signal_chat_server_set_listener(const SignalTokioAsyncContext *r

SignalFfiError *signal_testing_chat_service_inject_raw_server_request(const SignalChat *chat, SignalBorrowedBuffer bytes);

SignalFfiError *signal_testing_chat_service_inject_connection_interrupted(const SignalChat *chat);

SignalFfiError *signal_server_message_ack_destroy(SignalServerMessageAck *p);

SignalFfiError *signal_server_message_ack_send(SignalCPromisebool *promise, const SignalTokioAsyncContext *async_runtime, const SignalServerMessageAck *ack);
Expand Down
2 changes: 1 addition & 1 deletion pkg/libsignalgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package libsignalgo

const Version = "v0.49.0"
const Version = "v0.51.0"

0 comments on commit 790152b

Please sign in to comment.