PokerUnicorn
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
d
e
l
p
r
s
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
h
i
l
m
o
p
r
s
t
u
v
w
Functions
_
a
c
d
l
o
p
r
s
t
u
w
Variables
Typedefs
a
e
o
p
r
s
t
w
Enumerations
Enumerator
p
t
Macros
_
a
e
h
i
l
m
p
r
s
t
v
w
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
uniqid.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
22
#include <stdint.h>
23
24
typedef
struct
{
25
uint64_t
scalar
;
26
char
string
[10];
27
}
pkrsrv_uniqid_uuid_t
;
24
typedef
struct
{
…
};
28
32
#define PKRSRV_UNIQID_STRING_LEN 20
33
#define PKRSRV_UNIQID_STRING_SIZE 21
34
35
pkrsrv_uniqid_uuid_t
pkrsrv_uniqid_generate
();
36
char
*
pkrsrv_uniqid_to_string
(
pkrsrv_uniqid_uuid_t
uuid);
37
void
pkrsrv_uniqid_string_free
(
char
* uniqid);
38
39
static
uint64_t pkrsrv_uniqid_uuid_i = 0;
40
pkrsrv_uniqid_uuid_t::scalar
uint64_t scalar
Definition
uniqid.h:25
pkrsrv_uniqid_to_string
char * pkrsrv_uniqid_to_string(pkrsrv_uniqid_uuid_t uuid)
pkrsrv_uniqid_string_free
void pkrsrv_uniqid_string_free(char *uniqid)
pkrsrv_uniqid_generate
pkrsrv_uniqid_uuid_t pkrsrv_uniqid_generate()
pkrsrv_uniqid_uuid_t
Definition
uniqid.h:24