Kagera Session Manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
616 B

* @PROJECT Session Manager
* @COPYRIGHT See COPYING in the top level directory
* @FILE sessmgr.h
* @PURPOSE WebUI session manager
* @DEVELOPERS Eric Bishop <eric@gargoyle-router.com>
* Rafal Kupiec <belliash@asiotec.eu.org>
#ifndef __SESSMGR_H
#define __SESSMGR_H
extern char* crypt(const char* key, const char* setting);
char* get_cookie_time(time_t t);
char* get_root_hash(void);
char* get_root_hash_from_file(const char* passwd_file);
void* safe_malloc(size_t size);
char* safe_strcat(int num_strs, ...);
char* safe_strdup(const char* str);