Creating a UDF Library
From InterBase
Go Up to Compiling and Linking a Function Module
UDF libraries are standard shared libraries that are dynamically loaded by the database at runtime. You can create UDF libraries on any platform–except NetWare–that is supported by InterBase. To use the same set of UDFs with databases running on different platforms, create separate libraries on each platform where the databases reside. UDFs run on the server where the database resides.
- Note: A library, in this context, is a shared object that typically has a
dll
extension on Windows platforms, and anso
extension on Solaris and Linux.
The InterBase examples
directory contains sample makefiles (makefile.bc
and makefile.msc
on Windows platforms, makefile
on UNIX) that build a UDF function library from udflib.c
.