ELinks 0.18.0
Functions | Variables
auth.c File Reference
#include <string.h>
#include "elinks.h"
#include "bfu/hierbox.h"
#include "intl/libintl.h"
#include "main/module.h"
#include "protocol/auth/auth.h"
#include "protocol/auth/dialogs.h"
#include "protocol/protocol.h"
#include "protocol/uri.h"
#include "session/session.h"
#include "util/base64.h"
#include "util/error.h"
#include "util/memory.h"
#include "util/string.h"
Include dependency graph for auth.c:

Functions

static struct auth_entry * find_auth_entry (struct uri *uri, const char *realm)
 
static void set_auth_user (struct auth_entry *entry, struct uri *uri)
 
static void set_auth_password (struct auth_entry *entry, struct uri *uri)
 
static void done_auth_entry (struct auth_entry *entry)
 
static struct auth_entry * init_auth_entry (struct uri *uri, const char *realm)
 
struct auth_entry * add_auth_entry (struct uri *uri, const char *realm, char *nonce, char *opaque, unsigned int digest)
 
struct auth_entry * find_auth (struct uri *uri)
 
void del_auth_entry (struct auth_entry *entry)
 
void free_auth (void)
 
static void done_auth (struct module *xxx)
 
struct auth_entry * get_invalid_auth_entry (void)
 

Variables

static struct auth_entry list auth_entry_list = { D_LIST_HEAD_EL( auth_entry_list ) }
 
struct module auth_module
 

Function Documentation

◆ add_auth_entry()

struct auth_entry * add_auth_entry ( struct uri *  uri,
const char *  realm,
char *  nonce,
char *  opaque,
unsigned int  digest 
)

◆ del_auth_entry()

void del_auth_entry ( struct auth_entry *  entry)

◆ done_auth()

static void done_auth ( struct module *  xxx)
static

◆ done_auth_entry()

static void done_auth_entry ( struct auth_entry *  entry)
static

◆ find_auth()

struct auth_entry * find_auth ( struct uri *  uri)

◆ find_auth_entry()

static struct auth_entry * find_auth_entry ( struct uri *  uri,
const char *  realm 
)
static

◆ free_auth()

void free_auth ( void  )

◆ get_invalid_auth_entry()

struct auth_entry * get_invalid_auth_entry ( void  )

◆ init_auth_entry()

static struct auth_entry * init_auth_entry ( struct uri *  uri,
const char *  realm 
)
static

◆ set_auth_password()

static void set_auth_password ( struct auth_entry *  entry,
struct uri *  uri 
)
static

◆ set_auth_user()

static void set_auth_user ( struct auth_entry *  entry,
struct uri *  uri 
)
static

Variable Documentation

◆ auth_entry_list

struct auth_entry list auth_entry_list = { D_LIST_HEAD_EL( auth_entry_list ) }
static

◆ auth_module

struct module auth_module
Initial value:
N_("Authentication"),
)
static void done_auth(struct module *xxx)
Definition auth.c:310
#define NULL
Definition explodename.c:35
#define N_(msg)
Definition libintl.h:25
#define struct_module(name, options, hooks, submods, data, init, done, getname)
Definition module.h:47