OpenCBM
Macros | Functions
LINUX/configuration_name.c File Reference

Shared library / DLL for accessing the driver Read configuration file. More...

#include "configuration.h"
#include "libmisc.h"
#include <stdlib.h>
#include <assert.h>
#include <string.h>

Go to the source code of this file.

Macros

#define OPENCBM_DEFAULT_CONFIGURATION_FILE_NAME   OPENCBM_CONFIG_FILE
 The name (including path) of the configuration file. More...
 
#define OPENCBM_HOME_CONFIG_FILEPATH   "/etc/opencbm.conf"
 

Functions

const char * configuration_get_default_filename (void)
 Get the default filename for the configuration file. More...
 

Detailed Description

Shared library / DLL for accessing the driver Read configuration file.



Author
Spiro Trikaliotis

Definition in file LINUX/configuration_name.c.

Macro Definition Documentation

#define OPENCBM_DEFAULT_CONFIGURATION_FILE_NAME   OPENCBM_CONFIG_FILE

The name (including path) of the configuration file.

This defines the name of the configuration file for this platform.

Remarks
OPENCBM_CONFIG_FILE is defined in LINUX/config.make, and it is given to the compiler via the command line!

Definition at line 36 of file LINUX/configuration_name.c.

Referenced by configuration_get_default_filename().

Function Documentation

const char* configuration_get_default_filename ( void  )

Get the default filename for the configuration file.

Get the default filename of the configuration file.

Returns
Returns a newly allocated memory area with the default file name.

Definition at line 50 of file LINUX/configuration_name.c.

Referenced by opencbm_plugin_get_all_plugin_names(), and opencbm_plugin_install_plugin_data().