OpenCBM
archlib-windows.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version
5  * 2 of the License, or (at your option) any later version.
6  *
7  * Copyright 2005-2009, 2014 Spiro Trikaliotis
8  */
9 
10 #ifndef ARCHLIB_WINDOWS_H
11 #define ARCHLIB_WINDOWS_H
12 
13 #include "opencbm.h"
14 
15 #include "opencbm-plugin.h"
16 #include "opencbm-plugin-install.h"
17 
18 #ifdef WIN32
19 
20 EXTERN opencbm_plugin_install_process_commandline_t opencbm_plugin_install_process_commandline;
21 
22 EXTERN opencbm_plugin_install_do_install_t opencbm_plugin_install_do_install;
23 EXTERN opencbm_plugin_install_do_uninstall_t opencbm_plugin_install_do_uninstall;
24 EXTERN opencbm_plugin_install_get_needed_files_t opencbm_plugin_install_get_needed_files;
25 
26 EXTERN opencbm_plugin_install_generic_t opencbm_plugin_install_generic;
27 EXTERN opencbm_plugin_install_plugin_data_t opencbm_plugin_install_plugin_data;
28 EXTERN opencbm_plugin_get_all_plugin_names_t opencbm_plugin_get_all_plugin_names;
29 EXTERN opencbm_plugin_self_init_plugin_t opencbm_plugin_self_init_plugin;
30 EXTERN opencbm_plugin_self_uninit_plugin_t opencbm_plugin_self_uninit_plugin;
31 
32 /* functions of the opencbm.dll that can be used by plugins */
33 
34 #include "configuration.h"
35 
36 extern int plugin_is_active(opencbm_configuration_handle Handle, const char Section[]);
37 extern int plugin_set_active(const char Section[]);
38 extern int plugin_set_inactive(const char Section[]);
39 
40 #endif
41 
42 #endif // #ifndef ARCHLIB_WINDOWS_H
Plugin DLL interface.
BOOL CBMAPIDECL opencbm_plugin_install_do_uninstall(void *Context)
@@@
#define EXTERN
Definition: opencbm.h:84
unsigned int CBMAPIDECL opencbm_plugin_install_get_needed_files(CbmPluginInstallProcessCommandlineData_t *Data, opencbm_plugin_install_neededfiles_t *Destination)
@@@
Shared library / DLL for accessing the driver Read configuration file.
BOOL CBMAPIDECL opencbm_plugin_install_generic(const char *DefaultPluginname, unsigned int DefaultLocation)
@@@
unsigned int CBMAPIDECL opencbm_plugin_install_process_commandline(CbmPluginInstallProcessCommandlineData_t *Data)
@@@
EXTERN BOOL CBMAPIDECL opencbm_plugin_get_all_plugin_names(opencbm_plugin_get_all_plugin_names_context_t *Context)
@@@
Plugin DLL interface.
DLL interface for accessing the driver.
BOOL CBMAPIDECL opencbm_plugin_install_plugin_data(const char *Pluginname, const char *Filepath, const CbmPluginInstallProcessCommandlineData_t *CommandlineData)
@@@
BOOL CBMAPIDECL opencbm_plugin_install_do_install(void *Context)
@@@
int plugin_set_inactive(const char PluginName[])
@@@
Definition: cbm.c:107
int plugin_is_active(opencbm_configuration_handle Handle, const char PluginName[])
@@@
Definition: cbm.c:55
int plugin_set_active(const char PluginName[])
@@@
Definition: cbm.c:93