|
Squid Web Cache master
|
#include "squid.h"#include "base64.h"#include "compat/pipe.h"#include "compat/unistd.h"#include <cerrno>#include <cstring>#include <cstdlib>#include <ctime>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} |
| #define MAX_AUTHTOKEN_LEN 65535 |
Definition at line 59 of file negotiate_wrapper.cc.
| #define PROGRAM "negotiate_wrapper" |
Definition at line 54 of file negotiate_wrapper.cc.
| #define VERSION "1.0.1" |
Definition at line 56 of file negotiate_wrapper.cc.
| #define xfree free |
Definition at line 50 of file negotiate_wrapper.cc.
| #define xmalloc malloc |
Definition at line 44 of file negotiate_wrapper.cc.
| #define xstrdup strdup |
Definition at line 47 of file negotiate_wrapper.cc.
|
static |
Definition at line 93 of file negotiate_wrapper.cc.
Referenced by main().
|
static |
Definition at line 65 of file negotiate_wrapper.cc.
Referenced by main(), and processingLoop().
Definition at line 281 of file negotiate_wrapper.cc.
References closeFds(), debug_enabled, LogTime(), processingLoop(), PROGRAM, strerror(), usage(), VERSION, xclose(), and xmalloc.
|
static |
Definition at line 106 of file negotiate_wrapper.cc.
References assert, base64_decode_final(), base64_decode_init(), BASE64_DECODE_LENGTH, base64_decode_update(), debug_enabled, LogTime(), MAX_AUTHTOKEN_LEN, ntlmProtocol, PROGRAM, safe_free, strerror(), xfree, and xmalloc.
Referenced by main().
|
static |
Definition at line 82 of file negotiate_wrapper.cc.
Referenced by main().
|
static |
Definition at line 62 of file negotiate_wrapper.cc.
Referenced by processingLoop().