basic_ncsa_auth.cc File Reference
#include "squid.h"
#include "auth/basic/NCSA/crypt_md5.h"
#include "helper/protocol_defines.h"
#include "rfc1738.h"
#include <string>
#include <unordered_map>
Include dependency graph for basic_ncsa_auth.cc:

Go to the source code of this file.

Typedefs

typedef std::unordered_map< std::string, std::string > usermap_t
 

Functions

static void read_passwd_file (const char *passwdfile)
 
int main (int argc, char **argv)
 

Variables

usermap_t usermap
 

Typedef Documentation

◆ usermap_t

typedef std::unordered_map<std::string, std::string> usermap_t

Definition at line 41 of file basic_ncsa_auth.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ read_passwd_file()

static void read_passwd_file ( const char *  passwdfile)
static

Definition at line 45 of file basic_ncsa_auth.cc.

References HELPER_INPUT_BUFFER, passwdfile, usermap, and xstrerr().

Referenced by main().

Variable Documentation

◆ usermap

usermap_t usermap

Definition at line 42 of file basic_ncsa_auth.cc.

Referenced by main(), and read_passwd_file().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors