libscipaper 1.0.x
Macros | Typedefs | Functions
sci-modules.h File Reference

Headers for the module handling for SCIPAPER. More...

#include <glib.h>
#include <gmodule.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define SCI_CONF_MODULES_GROUP   "Modules"
 Name of Modules configuration group.
 
#define SCI_CONF_MODULES_PATH   "ModulePath"
 Name of configuration key for module path.
 
#define SCI_CONF_MODULES_MODULES   "Modules"
 Name of configuration key for general modules to load.
 
#define DEFAULT_SCI_MODULE_PATH   "/usr/lib/scipaper/modules"
 Default value for module path.
 

Typedefs

typedef const char * sci_module_init_fn(void **data)
 Modules must export a symbol of this type called sci_module_init, it will be called when the module is loaded.
 
typedef void sci_module_exit_fn(void *data)
 Modules must export a symbol of this type called sci_module_exit, it will be called just before the module is removed.
 

Functions

bool sci_modules_init (void)
 
void sci_modules_exit (void)
 

Detailed Description

Headers for the module handling for SCIPAPER.

Author
David Weinehall david.nosp@m..wei.nosp@m.nehal.nosp@m.l@no.nosp@m.kia.c.nosp@m.om
Jonathan Wilson jfwfr.nosp@m.eo@t.nosp@m.pgi.c.nosp@m.om.a.nosp@m.u
Carl Klemm carl@.nosp@m.uvos.nosp@m..xyz

scipaper is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

scipaper is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with scipaper. If not, see http://www.gnu.org/licenses/.