IDZEBRA  2.1.2
Typedefs | Functions
passwddb.h File Reference
#include <yaz/yconfig.h>

Go to the source code of this file.

Typedefs

typedef struct passwd_dbPasswd_db
 

Functions

Passwd_db passwd_db_open (void)
 
int passwd_db_auth (Passwd_db db, const char *user, const char *pass)
 
int passwd_db_file_plain (Passwd_db db, const char *fname)
 
int passwd_db_file_crypt (Passwd_db db, const char *fname)
 
void passwd_db_close (Passwd_db db)
 
void passwd_db_show (Passwd_db db)
 

Typedef Documentation

typedef struct passwd_db* Passwd_db

Definition at line 27 of file passwddb.h.

Function Documentation

int passwd_db_auth ( Passwd_db  db,
const char *  user,
const char *  pass 
)
void passwd_db_close ( Passwd_db  db)

Definition at line 106 of file passwddb.c.

References passwd_entry::des, passwd_db::entries, passwd_entry::name, and passwd_entry::next.

Referenced by tst(), and zebra_stop().

int passwd_db_file_crypt ( Passwd_db  db,
const char *  fname 
)

Definition at line 172 of file passwddb.c.

References passwd_db_file_int().

Referenced by tst(), and zebra_start_res().

int passwd_db_file_plain ( Passwd_db  db,
const char *  fname 
)

Definition at line 181 of file passwddb.c.

References passwd_db_file_int().

Referenced by tst(), and zebra_start_res().

Passwd_db passwd_db_open ( void  )

Definition at line 52 of file passwddb.c.

References passwd_db::entries.

Referenced by tst(), and zebra_start_res().

void passwd_db_show ( Passwd_db  db)