OpenMoHAA
0.82.1
Loading...
Searching...
No Matches
gcdkeyc.h
1
/******
2
gcdkeyc.h
3
GameSpy CDKey SDK Client Header
4
5
Copyright 1999-2007 GameSpy Industries, Inc
6
7
devsupport@gamespy.com
8
9
******
10
11
Please see the GameSpy CDKey SDK documentation for more
12
information
13
14
******/
15
16
#ifndef _GOACDKEYC_H_
17
#define _GOACDKEYC_H_
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#define RESPONSE_SIZE 73
24
25
typedef
enum
26
{
27
CDResponseMethod_NEWAUTH,
// method = 0 for normal auth
28
CDResponseMethod_REAUTH
// method = 1 for ison proof
29
} CDResponseMethod;
30
31
32
void
gcd_compute_response(
char
*cdkey,
char
*challenge,
/*out*/
char
response[73], CDResponseMethod method);
33
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
40
code
gamespy
gcdkey
gcdkeyc.h
Generated by
1.13.2