text_backend.cc File Reference
Include dependency graph for text_backend.cc:

Go to the source code of this file.

Classes

struct  _user_data
 

Typedefs

typedef struct _user_data user_data
 

Functions

static void my_free (void *p)
 
static void read_passwd_file (const char *passwordFile, int isHa1Mode)
 
void TextArguments (int argc, char **argv)
 
static const user_dataGetPassword (RequestData *requestData)
 
void TextHHA1 (RequestData *requestData)
 

Variables

static hash_tablehash = NULL
 
static HASHFREE my_free
 
static char * passwdfile = NULL
 
static int ha1mode = 0
 
static time_t change_time = 0
 

Typedef Documentation

typedef struct _user_data user_data

Function Documentation

static const user_data* GetPassword ( RequestData requestData)
static
static void my_free ( void *  p)
static

Definition at line 54 of file text_backend.cc.

References _user_data::hash, hash_link::key, p, _user_data::passwd, and xfree.

static void read_passwd_file ( const char *  passwordFile,
int  isHa1Mode 
)
static
void TextArguments ( int  argc,
char **  argv 
)

Definition at line 139 of file text_backend.cc.

References ha1mode, and passwdfile.

Referenced by ProcessArguments().

Variable Documentation

time_t change_time = 0
static

Definition at line 45 of file text_backend.cc.

Referenced by GetPassword(), and main().

int ha1mode = 0
static

Definition at line 44 of file text_backend.cc.

Referenced by GetPassword(), and TextArguments().

HASHFREE my_free
static

Definition at line 42 of file text_backend.cc.

Referenced by read_passwd_file().

char* passwdfile = NULL
static

Definition at line 43 of file text_backend.cc.

Referenced by GetPassword(), and TextArguments().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors