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)
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)