/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to src/plugin.h

  • Committer: Suren A. Chilingaryan
  • Date: 2005-07-13 16:49:47 UTC
  • Revision ID: Arch-1:ds@dside.dyndns.org--darksoft-2004%librcc--main--0.1--patch-12
Engine Plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
void rccLibraryClose(rcc_library_handle handle);
14
14
void* rccLibraryFind(rcc_library_handle handle, const char *symbol);
15
15
 
 
16
 
 
17
typedef enum rcc_plugin_type_t {
 
18
    RCC_PLUGIN_TYPE_SYSTEMLIB = 0,
 
19
    RCC_PLUGIN_TYPE_ENGINE,
 
20
    RCC_PLUGIN_TYPE_MAX
 
21
} rcc_plugin_type;
 
22
 
 
23
struct rcc_plugin_handle_t {
 
24
    const char *sn;
 
25
    rcc_library_handle handle;
 
26
    void *info_function;
 
27
//    rcc_library_type type;
 
28
};
 
29
 
 
30
typedef struct rcc_plugin_handle_t rcc_plugin_handle_s;
 
31
typedef struct rcc_plugin_handle_t *rcc_plugin_handle;
 
32
 
 
33
int rccPluginInit();
 
34
void rccPluginFree();
 
35
 
 
36
rcc_plugin_handle rccPluginLoad(rcc_plugin_type type, const char *name);
 
37
rcc_engine *rccPluginEngineGetInfo(const char *name, const char *language);
 
38
 
16
39
#endif /* _RCC_PLUGIN_H */