egiHandler.cpp File Reference
Detailed Description
Embedded Gateway Interface (EGI) handler.
- Overview:
- The EGI handler implements a very fast in-process CGI scheme.
Function Documentation
int maDefineEgiForm |
( |
char * |
name, |
|
|
MaEgiCb |
fn |
|
) |
|
|
|
- Synopsis:
- Defines a C language EGI form
- Overview:
- This call links a C procedure to an EGI name. When a URL referencing the form is invoked, the EGI handler will ensure the nominated code is called. E.g. The URL:
Could be enabled by calling maDefineEgiForm("myForm", myFormProc); - Parameters:
-
| name | Name to publish the form as. This appears in the URL. Names must therefore only contain valid URL characters. |
| fn | C callback function to invoke. |
- Returns:
- Zero if successful. Otherwise it returns an MPR error code.
- Stability classification:
- Deprecated.
- Library:
- libcapiModule
- See also:
- maEspDefineCMethod
|
|
|