7 typedef struct ssl_ctx_st SSL_CTX;
117 void abort(
const char* filename,
int lineNo,
const char* text =
nullptr);
127 void abort(
const char* text);
139 int compare(
bool lhs,
bool rhs);
152 void die(
const char* filename,
int lineNo,
const char* text =
nullptr,
int exitCode = 1);
163 void die(
const char* text,
int exitCode = 1);
196 void*
realloc(
void* ptr,
size_t size,
size_t newSize);
207 char*
strdup(
const char* str);
365 #if UTL_SIZEOF_LONG == 4 395 #endif // UTL_SIZEOF_LONG == 4
bool initialized()
Determine whether UTL++ initialization has been done.
space-efficient and portable representation
void deInit()
De-initialize UTL++.
find last matching object
unsigned char uint8_t
Unsigned 8-bit integer.
serialize_t
Specifies a serialization mode.
default representation (via getSerializeMode())
void setSerializeMode(uint_t mode)
Set the default serialization mode (see utl::serialize_t).
char * strdup(const char *str)
Duplicate the given string.
unsigned char byte_t
Unsigned character.
void abort(const char *text)
Abort the process.
nonportable space- and time-efficient representation
long int64_t
Signed 64-bit integer.
bool sslVerifyLocations(const char *caFile, const char *caPath)
Set default locations for trusted CA certificates.
void serialize(Object &object, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize an object.
unsigned int uint32_t
Unsigned 32-bit integer.
cmp_t
Comparison operators.
unsigned long uint64_t
Unsigned 64-bit integer.
signed char int8_t
Signed 8-bit integer.
unsigned int uint_t
Unsigned integer.
void die(const char *text, int exitCode=1)
Exit the process with an error code.
unsigned short uint16_t
Unsigned 16-bit integer.
unsigned long ulong_t
Unsigned long integer.
signed int int32_t
Signed 32-bit integer.
find first matching object
human-readable and portable representation
SSL_CTX * sslContext()
Get a pointer to the global SSL context.
signed short int16_t
Signed 16-bit integer.
void * realloc(void *ptr, size_t size, size_t newSize)
Re-allocate the given block.
uint_t getSerializeMode()
Get the default serialization mode (see utl::serialize_t).
#define UTL_TYPE_NO_SERIALIZE(typeName)
Declare that a type cannot be serialized.
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
void init()
Initialize UTL++.