gxPL  1.0
Tools, Application and Framework for xPL
Configuration file

Detailed Description

Collaboration diagram for Configuration file:

Functions

const char * gxPLConfigPath (const char *filename)
 Returns the path of a configuration file. More...
 
xVector * gxPLConfigReadFile (const char *filename, const char *vendor_id, const char *device_id)
 

Function Documentation

const char* gxPLConfigPath ( const char *  filename)

Returns the path of a configuration file.

Parameters
filenamethe file name
Returns
If filename is a basename, add a directory that depends on the context and the host system. On a Unix system, the added directory is /etc/gxpl if the user is root, $HOME/.gxpl] otherwise.
If filename is not a basename, filename is returned
Examples:
logger/gxpl-logger.c.
xVector* gxPLConfigReadFile ( const char *  filename,
const char *  vendor_id,
const char *  device_id 
)
Parameters
filename
vendor_id
device_id
Returns