01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

● Interrupt_0xAB_function_0x07:_CGI_GETFORMITEM, Split a formular into name and value<br />

● Interrupt_0xAB_function_0x08:_CGI_FINDNEXTITEM, Return the address of the next formular tag<br />

● Interrupt_0xAB_function_0x09:_CGI_INSTALL_PAS, Install a Turbo Pascal CGI procedure<br />

Interrupt 0xAB service 0x01: CGI_INSTALL, Install a CGI function<br />

Parameters<br />

AH<br />

DX:SI<br />

0x01 (= CGI_INSTALL)<br />

Pointer to a temporary CGI_Entry type structure.<br />

Return Value<br />

Comments<br />

DX =0 success AX: 0<br />

DX!=0 failure AX: contains error code CGI_NO_FREE_ENTRY or CGI_INVALID_METHOD<br />

This API function makes no copy of the information in the provided CGI_Entry structure, so your<br />

structure at [DX:SI] must be persistent. The maximum number of available CGI pages is configurable at<br />

the chip.ini file, see CGI entries.<br />

Related Topics<br />

Top of list<br />

Index page<br />

CGI API Error Codes<br />

cgistat command line<br />

CGI_INSTALL_PAS API Function, for Pascal CGI Procedures<br />

Interrupt 0xAB service 0x02: CGI_REMOVE, Remove a CGI function<br />

Parameters<br />

AH<br />

DX:SI<br />

0x02 (= CGI_REMOVE)<br />

Pointer to the null terminated URL path name<br />

Return Value<br />

DX =0 success AX: 0<br />

DX!=0 failure AX: contains error code CGI_NOT_FOUND<br />

Page 359 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!