Example #1
0
static int add_config(string s, mixed v) {
/* This function is used to add the value of a non-existing configuration
 * setting 's' with its value set to 'v'.  Upon success a 1 is returned.  A
 * 0 will be returned upon failure with H7_ERROR being set to a string
 * value indicating the reason for the failure. */
  H7_SYSTEM_CHECK();
  return config_d->add_config(s, v);
}