extern int config_set

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

Use a key to store a value in a configuration structure.

Documentation

Use a key to store a value in a configuration structure.

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 store under.
value - The value to store.
Returns:
return code.

Home Alphabetic index



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