ELinks 0.18.0
auth.h File Reference
#include "main/object.h"
#include "protocol/uri.h"
#include "util/lists.h"
Include dependency graph for auth.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  auth_entry
 

Macros

#define auth_entry_has_userinfo(_entry_)    (*(_entry_)->user || *(_entry_)->password)
 

Functions

struct auth_entryfind_auth (struct uri *)
 
struct auth_entryadd_auth_entry (struct uri *, const char *, char *, char *, unsigned int)
 
void del_auth_entry (struct auth_entry *)
 
void free_auth (void)
 
struct auth_entryget_invalid_auth_entry (void)
 

Variables

struct module auth_module
 

Macro Definition Documentation

◆ auth_entry_has_userinfo

#define auth_entry_has_userinfo ( _entry_)     (*(_entry_)->user || *(_entry_)->password)

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)

◆ find_auth()

struct auth_entry * find_auth ( struct uri * uri)

◆ free_auth()

void free_auth ( void )

◆ get_invalid_auth_entry()

struct auth_entry * get_invalid_auth_entry ( void )

Variable Documentation

◆ auth_module

struct module auth_module
extern