Config#

Functions#

void omniClientConfigFreeString(char const *str)

This is an internal function intended for unit tests.

char const * omniClientConfigGetString(char const *key)

This is an internal function intended for unit tests.

void omniClientConfigReload()

This is an internal function intended for unit tests.

void omniClientConfigSetInt(char const *key, int64_t value)

This is an internal function intended for unit tests.

Functions#

void omniClientConfigFreeString(char const *str)#

This is an internal function intended for unit tests.

Frees a string returned by omniClientConfigGetString.

Parameters:

str – The string to free

char const *omniClientConfigGetString(char const *key)#

This is an internal function intended for unit tests.

Retrieves a string configuration value.

Parameters:

key – The configuration key to retrieve

Returns:

The configuration value as a string, or nullptr if not found

void omniClientConfigReload()#

This is an internal function intended for unit tests.

Reloads the configuration from disk.

void omniClientConfigSetInt(char const *key, int64_t value)#

This is an internal function intended for unit tests.

Sets an integer configuration value.

Parameters:
  • key – The configuration key to set

  • value – The integer value to set