#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
void *handle;
void *funcp;
if (argc < 3) {
fprintf(stderr, "usage: openlib <function name> <plugin name>\n");
exit(1);
}
fprintf(stderr, "can't open library\n");
exit(1);
}
fprintf(stderr, "can't get symbol address\n");
exit(1);
}
fprintf(stderr, "Symbol address: %ld\n", (long)funcp);
return 0;
}
void spSetDebugLevel(int level)
void spCloseLibrary(void *handle)
void * spOpenLibrary(const char *filename)
void * spGetSymbolAddress(void *handle, const char *symbol)