Speedify SDK for Desktop/Embedded
15.0.1
include
speedifysdk
sdkdefines.h
Go to the documentation of this file.
1
// Copyright 2019, Connectify, Inc. All Rights Reserved
2
3
#ifndef SPEEDIFYSDK_DEFINES
4
#define SPEEDIFYSDK_DEFINES
5
6
14
#define SPEEDIFYSDK_MAX_ERROR_STRING 200
15
17
#define SPEEDIFYSDK_MAX_ADAPTERS 25
18
20
#define SPEEDIFYSDK_MAX_SERVERS 1024
21
23
#define SPEEDIFYSDK_MAX_COUNTRY_LEN 10
24
26
#define SPEEDIFYSDK_MAX_CITY_LEN 20
27
29
#define SPEEDIFYSDK_MAX_SERVER_FULL_NAME 100
30
32
#define SPEEDIFYSDK_MAX_EMAIL 250
33
35
#define SPEEDIFYSDK_MAX_ADAPTER_NAME 100
36
38
#define SPEEDIFYSDK_MAX_FORWARD_PORTS 20
39
41
#define SPEEDIFYSDK_MAX_DOWNSTREAM_SUBNETS 10
42
44
#define SPEEDIFYSDK_MAX_IP_STRING_LENGTH 46
45
47
#define SPEEDIFYSDK_MAX_DIRECTORY_DOMAIN 100
48
50
#define SPEEDIFYSDK_MAX_IP_COUNT 12
51
53
#define SPEEDIFYSDK_MAX_DNS_COUNT 3
54
56
#define SPEEDIFYSDK_MAX_DOMAIN_LENGTH 50
57
59
#define SPEEDIFYSDK_MAX_PROXY_DOMAINS 100
60
62
#define SPEEDIFYSDK_MAX_PROXY_IPS 100
63
65
#define SPEEDIFYSDK_MAX_PROXY_PORTS 100
66
68
#define SPEEDIFYSDK_MAX_FIREWALL_DOMAINS 100
69
71
#define SPEEDIFYSDK_MAX_FIREWALL_IPS 100
72
74
#define SPEEDIFYSDK_MAX_FIREWALL_PORTS 100
75
77
#define SPEEDIFYSDK_MAX_WATCHLIST_ITEMS 100
78
80
#define SPEEDIFYSDK_MAX_WATCHLIST_TITLE 30
81
83
#define SPEEDIFYSDK_MAX_WATCHLIST_DOMAINS 12
84
86
#define SPEEDIFYSDK_MAX_STREAMS 10
87
89
#define SPEEDIFYSDK_MAX_STREAM_NAME_LEN 50
90
92
#define SPEEDIFYSDK_MAX_HOST_LEN 253
93
95
#define SPEEDIFYSDK_MAX_STATS_PERIODS 5
96
98
#define SPEEDIFYSDK_STAT_PERIOD_CURRENT 0
99
101
#define SPEEDIFYSDK_STAT_PERIOD_TOTAL UINT32_MAX
102
104
#define SPEEDIFYSDK_STAT_PERIOD_DAY 24
105
107
#define SPEEDIFYSDK_STAT_PERIOD_WEEK 24*7
108
110
#define SPEEDIFYSDK_STAT_PERIOD_MONTH 24*30
111
113
#define SPEEDIFYSDK_MAX_STREAMING_DOMAINS 100
114
116
#define SPEEDIFYSDK_MAX_STREAMING_IPS 100
117
119
#define SPEEDIFYSDK_MAX_STREAMING_PORTS 100
120
122
#define SPEEDIFYSDK_MAX_LANGUAGE_LEN 3
123
125
#define SPEEDIFYSDK_MAX_SPEED_TEST_RESULTS 5
126
128
#define SPEEDIFYSDK_MAX_STREAM_RESOLUTION_LENGTH 6
129
131
#define SPEEDIFYSDK_MAX_APP_NAME_LENGTH 32
132
134
#define SPEEDIFYSDK_MAX_TICKET_ID_LENGTH 32
135
138
#define SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH 33
139
141
#define SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH 129
142
144
#define SPEEDIFYSDK_MAX_NETWORK_SHARING_AVAILABLE_SHARES_RESULTS 32
145
147
#define SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH 37
148
151
#define SPEEDIFYSDK_MAX_ACTIVATION_CODE_LENGTH 7
152
154
#define SPEEDIFYSDK_MAX_ACTIVATION_URL_LENGTH 256
155
157
#define SPEEDIFYSDK_MAX_DATACENTER_LENGTH 20
158
160
#define SPEEDIFYSDK_MAX_HOSTNAME_LENGTH 256
161
163
#define SPEEDIFYSDK_MAX_PROTOCOL_LENGTH 32
164
166
#define SPEEDIFYSDK_MAX_PACKET_POOL_NAME_LENGTH 20
167
169
#define SPEEDIFYSDK_MAX_DSCP_QUEUE_LENGTH 64
170
174
/*
175
* C-wrapper default arg
176
*/
177
#ifdef __cplusplus
178
#define SpeedifySDK_DEFAULTNULL = NULL
179
#else
180
#define SpeedifySDK_DEFAULTNULL
181
#endif
182
183
/*
184
* Export definitions
185
*/
186
187
#ifdef __cplusplus
188
#define SpeedifySDK_EXTERN extern "C"
189
#else
190
#define SpeedifySDK_EXTERN
191
#endif
192
193
#ifndef SPEEDIFYSDK_SHARED
194
#define SpeedifySDK_EXPORT SpeedifySDK_EXTERN
195
#else // SPEEDIFYSDK_SHARED
196
#if defined(_MSC_VER)
197
#define SpeedifySDK_EXPORT SpeedifySDK_EXTERN __declspec(dllexport)
198
#elif defined(__GNUC__)
199
#define SpeedifySDK_EXPORT SpeedifySDK_EXTERN __attribute__((visibility("default")))
200
#else
201
#define SpeedifySDK_EXPORT SpeedifySDK_EXTERN
202
#pragma warning Unknown dynamic link import/export semantics.
203
#endif
204
#endif // SPEEDIFYSDK_SHARED
205
206
#endif // SPEEDIFYSDK_DEFINES
Generated by
1.8.15