27typedef int (*
main_f)(
int argc,
char *argv[]);
29int main(
int argc,
char *argv[])
32 void *handle = dlopen(
"asterisk.dll", 0);
34 ast_main = (
main_f)dlsym(handle,
"main");
36 return ast_main(argc, argv);
37 fprintf(stderr,
"could not load Asterisk, %s\n", dlerror());
int main(int argc, char *argv[])
int(* main_f)(int argc, char *argv[])