The C language version of the DLM server API is exported by dlmsrv.h. Common types and structures are exported by dlmdef.h.
To start a server session, call dlm_ServerInitialize() once to initialize the server module.
One of the parameters to dlm_ServerInitialize() is a callback function. Once a server session has successfully initialized, the callback function supplied by the application will be called to notify the application of server events, such as clients connecting and disconnecting.
To terminate a server session, call dlm_ServerUninitialize().