PokerUnicorn
Loading...
Searching...
No Matches
redis.h
Go to the documentation of this file.
1
/*
2
* PokerUnicorn Server
3
* This project uses test network, NO real coin or NO real money involved.
4
* Copyright (C) 2023, Oğuzhan Eroğlu <meowingcate@gmail.com> (https://meowingcat.io)
5
* Licensed under GPLv3 License
6
* See LICENSE for more info
7
*/
8
9
#pragma once
10
11
#include <stddef.h>
12
13
#include "thirdparty/hiredis/hiredis.h"
14
15
void
pkrsrv_redis_init
();
16
redisContext*
pkrsrv_redis_connect
(
char
* host,
int
port);
17
18
extern
redisContext*
redis_connection
;
redis_connection
redisContext * redis_connection
pkrsrv_redis_init
void pkrsrv_redis_init()
pkrsrv_redis_connect
redisContext * pkrsrv_redis_connect(char *host, int port)