Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
secure_socket_filter.cc File Reference
#include "bin/secure_socket_filter.h"
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#include "bin/lockers.h"
#include "bin/secure_socket_utils.h"
#include "bin/security_context.h"
#include "bin/socket_base.h"
#include "platform/syslog.h"
#include "platform/text_buffer.h"

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::bin
 

Macros

#define RETURN_IF_ERROR(handle)
 

Functions

static SSLFilter * dart::bin::GetFilter (Dart_NativeArguments args)
 
static void dart::bin::DeleteFilter (void *isolate_data, void *context_pointer)
 
static Dart_Handle dart::bin::SetFilter (Dart_NativeArguments args, SSLFilter *filter)
 
void FUNCTION_NAME() dart::bin::SecureSocket_Init (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_Connect (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_Destroy (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_Handshake (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_MarkAsTrusted (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_NewX509CertificateWrapper (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_GetSelectedProtocol (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_RegisterHandshakeCompleteCallback (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_RegisterBadCertificateCallback (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_RegisterKeyLogPort (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_PeerCertificate (Dart_NativeArguments args)
 
void FUNCTION_NAME() dart::bin::SecureSocket_FilterPointer (Dart_NativeArguments args)
 

Macro Definition Documentation

◆ RETURN_IF_ERROR

#define RETURN_IF_ERROR (   handle)
Value:
{ \
Dart_Handle __handle = handle; \
if (Dart_IsError((__handle))) { \
return __handle; \
} \
}
DART_EXPORT bool Dart_IsError(Dart_Handle handle)

Definition at line 21 of file secure_socket_filter.cc.