TUM-Logo

libRASCH

 

Home
 

General

About libRASCH/News
Design
Screen shots
Sample programs (with source code)
License
 

Download

libRASCH
Tools
 

Documentation

User
Developer
 

Resources

Mailing list
Supported Formats
Plugins
Status
Links
 
Contact
About this site
 
Last updated
Tue Mar 27 23:03:52 2007
libRASCH: handle_plugin_linux.c File Reference

handle_plugin_linux.c File Reference

Include dependency graph for handle_plugin_linux.c:

Go to the source code of this file.

Defines

#define _LIBRASCH_BUILD

Functions

int read_plugins (struct librasch *ra)
 load plguins
plugin_structdload_plugin (char *file)
 do dynamic loading
int is_plugin_ok (struct plugin_struct *p)
 checks if plugin is ok
void close_plugins (struct plugin_struct *p)
 close a plugin


Detailed Description

This file implements to loading/de-loading of libRASCH plugins for Linux. (For Win32-implementation see handle_plugin_win32.c)

Author:
Raphael Schneider (ra@med1.med.tum.de)

Definition in file handle_plugin_linux.c.


Define Documentation

#define _LIBRASCH_BUILD
 

Definition at line 27 of file handle_plugin_linux.c.


Function Documentation

void close_plugins struct plugin_struct p  ) 
 

Parameters:
<p> pointer to a plugin struct
The function calls the closing functions of a plugin (so plugin can free allocated memory) and unloads the plugin.

Definition at line 220 of file handle_plugin_linux.c.

Referenced by ra_lib_close(), and ra_lib_init().

struct plugin_struct* dload_plugin char *  file  ) 
 

Parameters:
<file> filename of a plugin (locale encoding)
Load a plugin and call 'load_ra_plugin' function in the loaded plugin.

Definition at line 142 of file handle_plugin_linux.c.

Referenced by read_plugins().

int is_plugin_ok struct plugin_struct p  ) 
 

Parameters:
<p> pointer to a pluign struct
The function checks if a plugin is ok. (Nothing special yet.)

Definition at line 205 of file handle_plugin_linux.c.

Referenced by dload_plugin().

int read_plugins struct librasch ra  ) 
 

Parameters:
<ra> pointer to general libRASCH struct
The function loads all plugins found in the plugin-dir (given by the libRASCH configuration). If a plugin loads successfully, the init-function of the plugin is called. The implementation for Linux can be found in the file 'handle_plugin_linux.c' and for Win32 systems in the file 'handle_plugin_win32.c'.

Definition at line 43 of file handle_plugin_linux.c.

Referenced by ra_lib_init().


Generated on Fri May 27 11:32:51 2005 for libRASCH by  doxygen 1.4.2