/[baselayout]/trunk/src/rc.h
Gentoo

Diff of /trunk/src/rc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3006 Revision 3007
332char **rc_config_load (const char *file); 332char **rc_config_load (const char *file);
333 333
334/*! Return the value of the entry from a key=value list. */ 334/*! Return the value of the entry from a key=value list. */
335char *rc_config_value (char **list, const char *entry); 335char *rc_config_value (char **list, const char *entry);
336 336
337/*! Return a NULL terminated string list of variables allowed through
338 * from the current environemnt. */
339char **rc_env_filter (void);
340
341/*! Return a NULL terminated string list of enviroment variables made from
342 * our configuration files. */
343char **rc_env_config (void);
344
345/*! Check if an environment variable is a boolean and return it's value. 337/*! Check if an environment variable is a boolean and return it's value.
346 * If variable is not a boolean then we set errno to be ENOENT when it does 338 * If variable is not a boolean then we set errno to be ENOENT when it does
347 * not exist or EINVAL if it's not a boolean. 339 * not exist or EINVAL if it's not a boolean.
348 * @param variable to check 340 * @param variable to check
349 * @return true if it matches true, yes or 1, false if otherwise. */ 341 * @return true if it matches true, yes or 1, false if otherwise. */

Legend:
Removed from v.3006  
changed lines
  Added in v.3007

  ViewVC Help
Powered by ViewVC 1.1.20