tagion.api.basic

API for basic functions

Members

Functions

start_rt
int start_rt()

starts druntime

stop_rt
int stop_rt()

Terminating d-runtime

tagion_basic_encode_base64url
int tagion_basic_encode_base64url(const(uint8_t*) buf_ptr, size_t buf_len, char** str_ptr, size_t* str_len)

Encode a buffer into a base64url string

tagion_create_dartindex
int tagion_create_dartindex(const(uint8_t*) doc_ptr, size_t doc_len, uint8_t** dart_index_buf, size_t* dart_index_buf_len)

Calculate the dartindex for a Document The dartindex is what is used to reference the document in the DART database

tagion_revision
int tagion_revision(char** str_ptr, size_t* str_len)

Get the tagion revision info

Static variables

__runtimeStatus
DrtStatus __runtimeStatus;

Variable, which represents the d-runtime status