extern int config_test_and_set

(struct configobj* appconfig,
  char* key, char* value)

Use a configuration structure to map a key to a value, but only if that key isn't present.

Documentation

Use a configuration structure to map a key to a value, but only if that key isn't present.

This function makes copies of the key and value parameters, so the caller may free them upon return.

Parameters:
appconfig - A pointer to the configuration structure.
key - The key to search for.
Returns:
return code.

Home Alphabetic index



This page was generated with the help of DOC++.