negotiate_wrapper.cc File Reference
#include "squid.h"
#include "base64.h"
#include <cerrno>
#include <cstring>
#include <cstdlib>
#include <ctime>
Include dependency graph for negotiate_wrapper.cc:

Go to the source code of this file.

Macros

#define xmalloc   malloc
 
#define xstrdup   strdup
 
#define xfree   free
 
#define PROGRAM   "negotiate_wrapper"
 
#define VERSION   "1.0.1"
 
#define MAX_AUTHTOKEN_LEN   65535
 

Functions

static const char * LogTime ()
 
static void usage ()
 
static void closeFds (FILE *a, FILE *b, FILE *c, FILE *d)
 
static int processingLoop (FILE *FDKIN, FILE *FDKOUT, FILE *FDNIN, FILE *FDNOUT)
 
int main (int argc, char *const argv[])
 

Variables

static const unsigned char ntlmProtocol [] = {'N', 'T', 'L', 'M', 'S', 'S', 'P', 0}
 

Macro Definition Documentation

◆ MAX_AUTHTOKEN_LEN

#define MAX_AUTHTOKEN_LEN   65535

Definition at line 63 of file negotiate_wrapper.cc.

◆ PROGRAM

#define PROGRAM   "negotiate_wrapper"

Definition at line 58 of file negotiate_wrapper.cc.

◆ VERSION

#define VERSION   "1.0.1"

Definition at line 60 of file negotiate_wrapper.cc.

◆ xfree

#define xfree   free

Definition at line 54 of file negotiate_wrapper.cc.

◆ xmalloc

#define xmalloc   malloc

Definition at line 48 of file negotiate_wrapper.cc.

◆ xstrdup

#define xstrdup   strdup

Definition at line 51 of file negotiate_wrapper.cc.

Function Documentation

◆ closeFds()

static void closeFds ( FILE *  a,
FILE *  b,
FILE *  c,
FILE *  d 
)
static

Definition at line 97 of file negotiate_wrapper.cc.

Referenced by main().

◆ LogTime()

static const char * LogTime ( void  )
static

Definition at line 69 of file negotiate_wrapper.cc.

References now.

Referenced by main(), and processingLoop().

◆ main()

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

◆ processingLoop()

static int processingLoop ( FILE *  FDKIN,
FILE *  FDKOUT,
FILE *  FDNIN,
FILE *  FDNOUT 
)
static

◆ usage()

static void usage ( void  )
static

Definition at line 86 of file negotiate_wrapper.cc.

Referenced by main().

Variable Documentation

◆ ntlmProtocol

const unsigned char ntlmProtocol[] = {'N', 'T', 'L', 'M', 'S', 'S', 'P', 0}
static

Definition at line 66 of file negotiate_wrapper.cc.

Referenced by processingLoop().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors