SQUID Functions

 

  • The SQUID functions, and their examples, assume that the SQUID server has been started with an address of http://localhost:8000.
  • Validation of the function calls can be handled by checking the return value and calling SquidGetLastError().

 

Entries in SquidClearAllColumns (1)

Thursday
Feb212013

SquidClearAllColumns

  • Clears all data in all the columns.  All content will be lost.
  • Removes all the data tabs from SQUID.
  • Allows for the cleaning out of the data without having to close and reopen SQUID.

Prototype

int SquidClearAllColumns(int iSquid);

  • Parameters
iSquidSquid Connection Handle
  • Return Values
0Operation successful
-1Error occurred, call SquidGetLastError for details

Example

int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidSendData(iSquid, "Column 1", "Some Data");
SquidSendData(iSquid, "Column 2", "More Data");
SquidSendData(iSquid, "Column 3", "Last Data");
SquidClearAllColumns(iSquid);
SquidDisconnect(iSquid);