Diol can save your theme preference in this browser using local storage.
EsError EsAddressResolve(STRING domain, uint32_t flags, EsAddress *address);
Resolves a domain name into an EsAddress. Returns ES_SUCCESS on success.
void EsConnectionClose(EsConnection *connection);
Closes the connection and unmaps its buffers.
void EsConnectionNotify(EsConnection *connection);
Tells the system that the application has changed the connection buffers.
EsError EsConnectionOpen(EsConnection *connection, EsConnectionOpenFlags flags);
Opens a connection to the address stored in the connection. With ES_CONNECTION_OPEN_WAIT, blocks until the connection is open. Returns ES_SUCCESS on success.
void EsConnectionPoll(EsConnection *connection);
Updates the connection state. Call it before reading or writing.
EsError EsConnectionRead(EsConnection *connection, void *buffer, size_t bufferBytes, size_t *bytesRead);
Returns the number of bytes copied into the buffer.
EsError EsConnectionWriteSync(EsConnection *connection, const void *data, size_t dataBytes);
Waits until all the data has been written into the send buffer. This does *not* flush the send buffer.