kv_config_set_lob_suffix()

#include <kvstore.h>

kv_error_t 
kv_config_set_lob_suffix(kv_config_t *config, 
                         const char *suffix); 

Sets the suffix associated with Large Object (LOB) keys. Keys associated with LOBs must have a trailing suffix string at the end of their final key component. This requirement permits non-LOB methods to check for inadvertent modifications to LOB objects.

Parameters

  • config

    The config parameter points to the configuration structure for which you want to set the LOB suffix.

  • suffix

    The suffix parameter identifies the suffix you want to use. By default ".lob" is used.