OpenMoHAA 0.82.1
Loading...
Searching...
No Matches
gcdkeyc.h
1/******
2gcdkeyc.h
3GameSpy CDKey SDK Client Header
4
5Copyright 1999-2007 GameSpy Industries, Inc
6
7devsupport@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
20extern "C" {
21#endif
22
23#define RESPONSE_SIZE 73
24
25typedef enum
26{
27 CDResponseMethod_NEWAUTH, // method = 0 for normal auth
28 CDResponseMethod_REAUTH // method = 1 for ison proof
29} CDResponseMethod;
30
31
32void 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