File Reference

#include <sys/time.h>
#include "pages.h"
#include "tools.h"
#include "session_manager.h"

Go to the source code of this file.


#define LOGIN_TIMEOUT   10


static long get_time ()
static String generate_token ()
static bool check_token (String token, String password, String encPassword)

Detailed Description

Definition in file

Define Documentation

#define LOGIN_TIMEOUT   10

Definition at line 44 of file

Referenced by generate_token().

Function Documentation

static bool check_token ( String  token,
String  password,
String  encPassword 
) [static]

Definition at line 60 of file

References get_time(), hex_string_md5(), and split_string().

Referenced by web::auth::process().

static String generate_token (  )  [static]

Definition at line 53 of file

References generate_random_id(), get_time(), and LOGIN_TIMEOUT.

Referenced by web::auth::process().

static long get_time (  )  [static]

Definition at line 46 of file

References NULL.

Referenced by check_token(), and generate_token().

Generated on Fri Mar 26 20:16:54 2010 for MediaTomb by  doxygen 1.6.1