- Class MaEspProc
- Deprecated in 2.0. Use maEspDefineCMethod instead. Instances of the MaEspProc class are created for each ESP procedure. When the ESP procedure is invoked from the web page, the run method will be invoked. The run method should write the appropriate data to the browser in response.
- Member MaEspCb
- Deprecated in release 2.0. Use EspCMethod instead.
- Synopsis:
- Callback function prototype for ESP procedures.
- Overview:
- Embedded Server Pages will call procedure callbacks when the corresponding scripting function is encountered in an ESP page. This interface is deprecated. Use the maEspDefineCMethod instead.
- Library:
- libcapiModule
- Configure options:
- Requires BLD_FEATURE_LEGACY_API.
- See also:
- EspCMethod, maEspDefineCMethod
- Member maDefineEsp
- Deprecated in release 2.0. Use maEspDefineCMethod instead.
- Synopsis:
- Defines a C lanaguage ESP procedure
- Overview:
- This call links a C procedure to an ESP name. When a web page containing a call to the procedure, the ESP handler will ensure the nominated code is called.
- Parameters:
-
| name | Name to use in the ESP web page for this ESP procedure. |
| fn | C callback function to invoke. |
- Returns:
- Zero if successful. Otherwise it returns an MPR error code.
- Stability classification:
- Deprecated.
- Library:
- libcapiModule
- Configure options:
- Requires BLD_FEATURE_LEGACY_API.
- See also:
- maEspDefineCMethod
- Member maSetResult
- Deprecated in release 2.0. Use maEspSetReturnValue instead.
- Synopsis:
- Set the result of an ESP procedure call.
- Overview:
- Set the result of an ESP procedure call. This value is returned from the ESP script call.
- Parameters:
-
| rq | Request object handle. |
| s | Pointer to string to use as the result. |
- Stability classification:
- Deprecated.
- Library:
- libappweb
- See also:
- maEspSetReturnValue
|
|