The header files needed for ESP development are in $SYBASE/OCS-12_0/include. To find these files in your source files, include the following in the source code:
ospublic.h
oserror.h
The Open Server library is in $SYBASE/lib.
The source for the sample program shown in “ESP function example” is in $SYBASE/$SYBASE_ASE/sample/esp.