Sunday
Feb192012
SquidCreateColumn
- Creates a column (tab) in SQUID.
Prototype
int SquidCreateColumn(int iSquid, char* sParam);
- Parameters
iSquid Squid Connection Handle sParam String containing the name of the column
- Return Values
0 Operation successful -1 Error occurred, call SquidGetLastError for details
Example
int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidCreateColumn(iSquid, "NewColumn");
SquidSendData(iSquid, "NewColumn", "20");
SquidSendData(iSquid, "NewColumn", "100");
SquidSendData(iSquid, "NewColumn", "50");
SquidDisconnect(iSquid);