Parsing parameters from Http GET

Hi All,

I’m trying to parse parameters from an http GET call i.e

http://192.168.1.105/action.cgi?dev=321&act=20

My function

int WEB_Action(HttpState* state)
{
unsigned int device;
char action;

do invoked, but I can’t find any way to get the 321 into ‘device’ & 20 into ‘action’.

I don’t find any ware in the state structure a buffer that contains the full header.

Also http_getCond(state, 0); & http_getCond(state, 1); dosn’t help.

Any help will be appreciated.

Tn’x in advance

Meir