#include <stdio.h>
#include <stdlib.h>
int spMain(int argc, char *argv[])
{
int i;
char *plugin_name;
for (i = 0;; i++) {
spDebug(-1, NULL,
"i = %d, break\n", i);
break;
}
spDebug(-1, NULL,
"i = %d, plugin_name = %s\n", i, plugin_name);
printf("%s\n", plugin_name);
printf("version = %ld, description = %s, information = %s\n",
} else {
spDebug(-1, NULL,
"cannot load plugin: %s\n", plugin_name);
}
}
return 0;
}
void spDebug(int level, const char *func_name, const char *format,...)
char * xspSearchPluginFile(int index)
long spGetPluginVersionId(spPlugin *plugin)
spPlugin * spLoadPlugin(const char *plugin_name)
const char * spGetPluginInformation(spPlugin *plugin)
spBool spFreePlugin(spPlugin *plugin)
const char * spGetPluginDescription(spPlugin *plugin)