@CHIP-RTOS C Library - Common Gateway Interface API
CGI_Install_Func_OnUpload
Install CGI function on http upload requests int CGI_Install_Func_OnUpload(void far *CgiFuncOnUpload);
Parameters
CgiFuncOnUpload
- CGI Function pointer
Return Value
- 0: CGI function installed
-1: CGI function not installed
Comments
- The upload handler function will be called after a successful HTTP file
upload. It is a CGI function that must be implemented in the same way than a
normal CGI function, installed with CGI_INSTALL.
For removing the upload handler function install a null pointer.
The name and path of the uploaded file is stored in the CgiRequests
fPathPtr element.
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
n/a | n/a | n/a | V1.30 | V1.30 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|