YottaDB / YDB

Mirrored from https://gitlab.com/YottaDB/DB/YDB
Other
76 stars 37 forks source link

External Calls to embedding program #353

Closed pkoper closed 5 years ago

pkoper commented 5 years ago

YottaDB can be embedded into a C program. This C program can call M code using Call-In interface and in this Call-In the M code can make External Call to a .so library.

Please, consider extending External Call interface with the possibility of calling back C program that is embedding YottaDB. One of many possible implementations could be: _If the first line of extcall.tab file is $ORIGIN, then instead of opening the .so library just use dlsym(RTLD_NEXT, "reqired_c_functionname"). (C program must be compiled with -rdynamic)

pkoper commented 5 years ago

Moved to https://gitlab.com/YottaDB/DB/YDB/issues/404