Squid Web Cache master
Loading...
Searching...
No Matches
fake.cc File Reference
#include "squid.h"
#include "helper/protocol_defines.h"
#include <cstring>
Include dependency graph for fake.cc:

Go to the source code of this file.

Functions

static void usage (void)
 
static void process_options (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Variables

char * my_program_name = nullptr
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ process_options()

static void process_options ( int  argc,
char *  argv[] 
)
static

Definition at line 68 of file fake.cc.

References debug_enabled, getopt(), opterr, optopt, and usage().

◆ usage()

static void usage ( void  )
static

Definition at line 58 of file fake.cc.

References my_program_name.

Variable Documentation

◆ my_program_name

char* my_program_name = nullptr

options: -d enable debugging. -h interface help.

Definition at line 55 of file fake.cc.

Referenced by main(), and usage().