Skip to content

Commit

Permalink
update renamed files
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jan 8, 2025
1 parent 1dc7c7d commit 0b7ba13
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions source/darwin/dispatch_queue_event_loop_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
struct dispatch_loop;
struct dispatch_loop_context;

struct secure_transport_ctx {
struct aws_tls_ctx ctx;
CFAllocatorRef wrapped_allocator;
CFArrayRef certs;
SecIdentityRef secitem_identity;
CFArrayRef ca_cert;
enum aws_tls_versions minimum_version;
struct aws_string *alpn_list;
bool verify_peer;
};

struct dispatch_loop {
struct aws_allocator *allocator;
dispatch_queue_t dispatch_queue;
Expand All @@ -30,8 +41,7 @@ struct dispatch_loop {
/* Synced data handle cross thread tasks and events, and event loop operations*/
struct {
/**
* The lock is used to protect synced_data across the threads. It should be acquired whenever we touched the
* data in this synced_data struct.
* The lock is used to protect synced_data across the threads. It should be
*/
struct aws_mutex lock;
/*
Expand Down
2 changes: 1 addition & 1 deletion source/darwin/nw_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <arpa/inet.h>
#include <sys/socket.h>

#include "dispatch_queue.h"
#include "./dispatch_queue_event_loop_private.h"

static int s_determine_socket_error(int error) {
switch (error) {
Expand Down
2 changes: 1 addition & 1 deletion source/darwin/secure_transport_tls_channel_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <dlfcn.h>
#include <math.h>

#include "dispatch_queue.h"
#include "./dispatch_queue_event_loop_private.h"

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
Expand Down

0 comments on commit 0b7ba13

Please sign in to comment.