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 SquidNoOperation (1)

Wednesday
Feb202013

SquidNoOperation

  • No operation is performed on SQUID.
  • Can be used to verify the communication with SQUID.

Prototype

int SquidNoOperation(int iSquid);

  • Parameters
iSquidSquid Connection Handle
  • Return Values
0Operation successful

Example

int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
lr_output_message("%ld",SquidNoOperation(iSquid));
SquidDisconnect(iSquid);