Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/curl_setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@

#else /* HAVE_CONFIG_H */

#if defined(CURL_EXTERNAL_PLATFORM)
# include "config-external.h"
#endif

#ifdef _WIN32_WCE
# include "config-win32ce.h"
#else
Expand Down Expand Up @@ -319,6 +323,14 @@
/* point. */
/* ================================================================ */

/*
* For platforms defined outside repo.
*/

#if defined(CURL_EXTERNAL_PLATFORM)
# include "setup-external.h"
#endif

/*
* OS/400 setup file includes some system headers.
*/
Expand Down
2 changes: 2 additions & 0 deletions lib/select.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ int Curl_wait_ms(timediff_t timeout_ms);
} while(0)
#endif

struct easy_pollset;

struct curl_pollfds {
struct pollfd *pfds;
unsigned int n;
Expand Down
4 changes: 2 additions & 2 deletions lib/vtls/unitytls_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ typedef size_t (*unitytls_tlsctx_write_callback)(void* userData, const UInt8* da
/* Called when unitytls expects incoming data. Should return the number of bytes it received or set an error on errorState. */
typedef size_t (*unitytls_tlsctx_read_callback)(void* userData, UInt8* buffer, size_t bufferLen, unitytls_errorstate* errorState);
/* Called with human readable string to trace the handshake process */
typedef void (*unitytls_tlsctx_trace_callback)(void* userData, unitytls_tlsctx* ctx, const char* traceMessage, size_t traceMessageLen);
typedef void (*unitytls_tlsctx_trace_callback)(void* userData, unitytls_tlsctx* ctx, int level, const char* fileName, size_t lineNumber, const char* traceMessage);
/* Called during a handshake operation, check currentState to determine how to react. */
typedef void (*unitytls_tlsctx_handshake_callback)(void* userData, unitytls_tlsctx* ctx, unitytls_tlsctx_handshakestate currentState, unitytls_errorstate* errorState);
/* Called during a handshake operation. Client: if server issues a certificate request (client auth), Server: certificate SNI selection. */
Expand Down Expand Up @@ -265,7 +265,7 @@ typedef size_t (*unitytls_tlsctx_write_t)(unitytls_tlsctx*
typedef void (*unitytls_tlsctx_notify_close_t)(unitytls_tlsctx* ctx, unitytls_errorstate* errorState);
typedef void (*unitytls_tlsctx_free_t)(unitytls_tlsctx* ctx);

typedef void (*unitytls_tlsctx_set_certificate_callback_t)(unitytls_tlsctx* ctx, unitytls_tlsctx_certificate_callback cb, void* userData, unitytls_errorstate* errorState);


typedef void (*unitytls_random_generate_bytes_t)(UInt8* buffer, size_t bufferLen, unitytls_errorstate* errorState);

Expand Down
Loading