squidclient.cc File Reference
#include "squid.h"
#include "base64.h"
#include "ip/Address.h"
#include "ip/tools.h"
#include "time/gadgets.h"
#include "tools/squidclient/gssapi_support.h"
#include "tools/squidclient/Parameters.h"
#include "tools/squidclient/Ping.h"
#include "tools/squidclient/Transport.h"
#include <cassert>
#include <cerrno>
#include <csignal>
#include <cstring>
#include <iostream>
#include <sstream>
Include dependency graph for squidclient.cc:

Go to the source code of this file.

Classes

class  Authorization
 [Proxy-]Authorization header producer More...
 

Macros

#define BUFSIZ   8192
 

Functions

static void usage (const char *progname)
 
void pipe_handler (int sig)
 
static void set_our_signal (void)
 
static void shellUnescape (char *buf)
 
int main (int argc, char *argv[])
 

Variables

Parameters scParams
 global squidcleint parameters More...
 
static int put_fd
 
static char * put_file = nullptr
 
static struct stat sb
 
int total_bytes = 0
 
static Authorization ProxyAuthorization ("Proxy-Authorization", "proxy")
 
static Authorization OriginAuthorization ("Authorization", "origin server")
 

Macro Definition Documentation

◆ BUFSIZ

#define BUFSIZ   8192

Definition at line 57 of file squidclient.cc.

Function Documentation

◆ main()

◆ pipe_handler()

void pipe_handler ( int  sig)

Definition at line 660 of file squidclient.cc.

Referenced by set_our_signal().

◆ set_our_signal()

static void set_our_signal ( void  )
static

Definition at line 666 of file squidclient.cc.

References pipe_handler(), and SA_RESTART.

Referenced by main().

◆ shellUnescape()

static void shellUnescape ( char *  buf)
static

Definition at line 132 of file squidclient.cc.

References debugVerbose.

Referenced by main().

◆ usage()

static void usage ( const char *  progname)
static

Variable Documentation

◆ OriginAuthorization

Authorization OriginAuthorization("Authorization", "origin server") ( "Authorization"  ,
"origin server  
)
static

Referenced by main().

◆ ProxyAuthorization

Authorization ProxyAuthorization("Proxy-Authorization", "proxy") ( "Proxy-Authorization ,
"proxy"   
)
static

Referenced by main().

◆ put_fd

int put_fd
static

Definition at line 68 of file squidclient.cc.

Referenced by main().

◆ put_file

char* put_file = nullptr
static

Definition at line 69 of file squidclient.cc.

Referenced by main().

◆ sb

◆ scParams

Parameters scParams

Definition at line 66 of file squidclient.cc.

Referenced by Transport::InitTls(), and main().

◆ total_bytes

int total_bytes = 0

Definition at line 72 of file squidclient.cc.

Referenced by main().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors