[static]
Convert a "yes"/"no" string to a boolean value.
Definition at line 41 of file config.c.
00042 { 00043 if (strcmp(val, "yes") == 0) 00044 return (1); 00045 else if (strcmp(val, "no") == 0) 00046 return (0); 00047 else 00048 return (-1); 00049 }