Sambar Server Documentation
|
CScript API Reference
|
This document, the CScript API Reference, contains information on
how to write an application using the CScript Application Programming
Interface (API). Important! The CScript engine can be utilized
independently of the Sambar Server as long as a Sambar Server Pro license
is purchased for each CScript deployment.
Audience
The CScript API Reference is written for programmers familiar
with the C programming language.
Public Header File
The cspublic.h file must be included in any DLL used by the CScript
Engine.
Thread-safe APIs
The Sambar Server has a multithreaded architecture, with the server
acting as a collection of threads, each executing functions to accomplish
its specific task(s). To run well within this environment, all
CScript interfaces and extensions must be thread-safe (allowing them to
be called simultaneously for unique client connections). This allows the
server to simultaneously support multiple applications - all calling
the same APIs and extensions - and maintain the integrity of each
application's context. This places a burden on the software developer
to ensure that all extensions to the CScript interface are thread-aware.
© 2001 Sambar Technologies.
All rights reserved. Terms of Use.