File: gsb_plugins.h

package info (click to toggle)
grisbi 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 15,180 kB
  • ctags: 7,111
  • sloc: ansic: 114,821; sh: 11,374; makefile: 1,102; perl: 370; yacc: 291
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef GSB_PLUGINS_H
#define GSB_PLUGINS_H

/* START_INCLUDE_H */
/* END_INCLUDE_H */


typedef struct gsb_plugin {
    gchar * name;
    gboolean (* plugin_register) ( void );
    gboolean (* plugin_release) ( void );
    gpointer (* plugin_run) ( void );
    GModule * handle;
}  gsb_plugin;


/* START_DECLARATION */
gsb_plugin * gsb_plugin_find ( gchar * plugin_name );
gchar * gsb_plugin_get_list ();
void gsb_plugins_release ( );
void gsb_plugins_scan_dir ( const char *dirname );
/* END_DECLARATION */

#endif