fake.cc File Reference
#include "squid.h"
#include "helper/protocol_defines.h"
#include <iostream>
#include <string>
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

std::string program_name
 

Function Documentation

◆ main()

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

Definition at line 91 of file fake.cc.

References process_options(), program_name, SEND_OK, and VERSION.

◆ 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, program_name, and usage().

Referenced by main().

◆ usage()

static void usage ( void  )
static

Definition at line 59 of file fake.cc.

References program_name.

Referenced by process_options().

Variable Documentation

◆ program_name

std::string program_name

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

Definition at line 56 of file fake.cc.

Referenced by main(), process_options(), and usage().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors