libonion
|
#include <stdlib.h>
#include <string.h>
#include <hiredis/hiredis.h>
#include "sessions.h"
#include "sessions_redis.h"
#include "types_internal.h"
#include "dict.h"
#include "random.h"
#include "block.h"
#include "log.h"
#include "low.h"
Data Structures | |
struct | onion_session_redis_t |
Typedefs | |
typedef struct onion_session_redis_t | onion_session_redis |
Functions | |
void | onion_sessions_redis_save (onion_sessions *sessions, const char *session_id, onion_dict *data) |
onion_sessions * | onion_sessions_redis_new (const char *server_ip, int port) |
Creates a redis backend for sessions. |
typedef struct onion_session_redis_t onion_session_redis |
void onion_sessions_redis_save | ( | onion_sessions * | sessions, |
const char * | session_id, | ||
onion_dict * | data | ||
) |