7 #ifndef __FASP_MANAGER_TYPES_H__
8 #define __FASP_MANAGER_TYPES_H__
13 #ifndef _AS_PLATFORM_H_
17 typedef short int16_t;
19 typedef __int64 int64_t;
20 typedef unsigned char u_int8_t;
21 typedef unsigned short u_int16_t;
22 typedef unsigned long u_int32_t;
23 typedef unsigned __int64 u_int64_t;
25 #ifndef _STDINT_H // Ming stdint.h defines the int bitdepth types
27 typedef short int16_t;
29 typedef long long int64_t;
31 typedef unsigned char u_int8_t;
32 typedef unsigned short u_int16_t;
33 typedef unsigned long u_int32_t;
34 typedef unsigned long long u_int64_t;
39 #define strtoll(str, end, base) _strtoi64(str, end, base)
40 #define strtoull(str, end, base) _strtoui64(str, end, base)
47 # define NLLD(n) "%" #n "I64d"
48 # define NLLU(n) "%" #n "I64u"
54 # define NLLD(n) "%" #n "ld"
55 # define NLLU(n) "%" #n "lu"
60 # define NLLD(n) "%" #n "lld"
61 # define NLLU(n) "%" #n "llu"
82 J_STATE_CONNECTING = 0x01,
83 J_STATE_AUTHENTICATING = 0x02,
84 J_STATE_STARTING = 0x03,
85 J_STATE_TRANSFERRING = 0x04,
86 J_STATE_FAILED = 0x05,
87 J_STATE_FINISHED = 0x06,
96 F_STATE_TRANSFERRING = 0x01,
97 F_STATE_FAILED = 0x02,
98 F_STATE_FINISHED = 0x03,
120 ENCRYPT_AES128 = 0x01
215 F_EVENT_BANDWIDTH_MEASUREMENT = 0x00,
216 F_EVENT_CONNECTING = 0x01,
217 F_EVENT_FILE_ERROR = 0x02,
218 F_EVENT_FILE_START = 0x03,
219 F_EVENT_FILE_STOP = 0x04,
220 F_EVENT_PROGRESS = 0x05,
221 F_EVENT_RATE_MODIFICATION = 0x06,
222 F_EVENT_SESSION_ERROR = 0x07,
223 F_EVENT_SESSION_START = 0x08,
224 F_EVENT_SESSION_STOP = 0x09,