OpenMoHAA
0.82.0
Loading...
Searching...
No Matches
chatCrypt.h
1
#ifndef _CHATCRYPT_H_
2
#define _CHATCRYPT_H_
3
#ifdef __cplusplus
4
extern
"C"
{
5
#endif
6
7
8
typedef
struct
_gs_crypt_key
9
{
10
unsigned
char
state[256];
11
unsigned
char
x;
12
unsigned
char
y;
13
} gs_crypt_key;
14
15
16
void
gs_prepare_key(
const
unsigned
char
*key_data_ptr,
int
key_data_len, gs_crypt_key *key);
17
void
gs_crypt(
unsigned
char
*buffer_ptr,
int
buffer_len, gs_crypt_key *key);
18
void
gs_xcode_buf(
char
*buf,
int
len,
char
*enckey);
19
20
#ifdef __cplusplus
21
}
22
#endif
23
24
#endif
_gs_crypt_key
Definition
chatCrypt.h:9
code
gamespy
Chat
chatCrypt.h
Generated by
1.13.2