Apache HTTPD
Macros | Functions | Variables
apr_passwd.c File Reference
#include "apr_strings.h"
#include "apr_md5.h"
#include "apr_lib.h"
#include "apr_sha1.h"
#include "apu_config.h"
#include "crypt_blowfish.h"

Go to the source code of this file.

Macros

#define crypt_mutex_lock()
 
#define crypt_mutex_unlock()
 
#define CRYPT_MISSING   0
 

Functions

 APU_DECLARE (apr_status_t)
 

Variables

static const char *const apr1_id = "$apr1$"
 
static const char *const bcrypt_id = "$2y$"
 

Macro Definition Documentation

◆ CRYPT_MISSING

#define CRYPT_MISSING   0

Definition at line 72 of file apr_passwd.c.

◆ crypt_mutex_lock

#define crypt_mutex_lock ( )

Definition at line 46 of file apr_passwd.c.

◆ crypt_mutex_unlock

#define crypt_mutex_unlock ( )

Definition at line 47 of file apr_passwd.c.

Function Documentation

◆ APU_DECLARE()

APU_DECLARE ( int  )

Most DBM libraries take a POSIX mode for creating files. Don't trust the mode_t type, some platforms may not support it, int is safe.

< Shared lock. More than one process or thread can hold a shared lock at any given time. Essentially, this is a "read lock", preventing writers from establishing an exclusive lock.

Definition at line 82 of file apr_passwd.c.

Variable Documentation

◆ apr1_id

const char* const apr1_id = "$apr1$"
static

Definition at line 40 of file apr_passwd.c.

◆ bcrypt_id

const char* const bcrypt_id = "$2y$"
static

Definition at line 186 of file apr_passwd.c.