Speedify SDK for Desktop/Embedded  15.0.1
Macros
Data Limits

Detailed Description

Data size constants.

Macros

#define SPEEDIFYSDK_MAX_ERROR_STRING   200
 Length of an error message. More...
 
#define SPEEDIFYSDK_MAX_ADAPTERS   25
 Simultaneous adapters supported. More...
 
#define SPEEDIFYSDK_MAX_SERVERS   1024
 Servers supported. More...
 
#define SPEEDIFYSDK_MAX_COUNTRY_LEN   10
 Country id length. More...
 
#define SPEEDIFYSDK_MAX_CITY_LEN   20
 City id. More...
 
#define SPEEDIFYSDK_MAX_SERVER_FULL_NAME   100
 Server name length. More...
 
#define SPEEDIFYSDK_MAX_EMAIL   250
 Email length. More...
 
#define SPEEDIFYSDK_MAX_ADAPTER_NAME   100
 Adapter name length. More...
 
#define SPEEDIFYSDK_MAX_FORWARD_PORTS   20
 Forwarded ports supported. More...
 
#define SPEEDIFYSDK_MAX_DOWNSTREAM_SUBNETS   10
 Maximum number of subnets supported. More...
 
#define SPEEDIFYSDK_MAX_IP_STRING_LENGTH   46
 IP string length. More...
 
#define SPEEDIFYSDK_MAX_DIRECTORY_DOMAIN   100
 Length of directory server domain. More...
 
#define SPEEDIFYSDK_MAX_IP_COUNT   12
 Maximum number of IPs on a server. More...
 
#define SPEEDIFYSDK_MAX_DNS_COUNT   3
 Maximum number of DNS addresses to configure. More...
 
#define SPEEDIFYSDK_MAX_DOMAIN_LENGTH   50
 Maximum length of domain to proxy. More...
 
#define SPEEDIFYSDK_MAX_PROXY_DOMAINS   100
 Maximum number of domains returned. More...
 
#define SPEEDIFYSDK_MAX_PROXY_IPS   100
 Maximum number of IPs returned. More...
 
#define SPEEDIFYSDK_MAX_PROXY_PORTS   100
 Maximum number of ports returned. More...
 
#define SPEEDIFYSDK_MAX_FIREWALL_DOMAINS   100
 Maximum number of domains returned. More...
 
#define SPEEDIFYSDK_MAX_FIREWALL_IPS   100
 Maximum number of IPs returned. More...
 
#define SPEEDIFYSDK_MAX_FIREWALL_PORTS   100
 Maximum number of ports returned. More...
 
#define SPEEDIFYSDK_MAX_WATCHLIST_ITEMS   100
 Maximum number of domain watchlist items. More...
 
#define SPEEDIFYSDK_MAX_WATCHLIST_TITLE   30
 Maximum title length of domain watchlist item. More...
 
#define SPEEDIFYSDK_MAX_WATCHLIST_DOMAINS   12
 Maximum number of domains in a watchlist item. More...
 
#define SPEEDIFYSDK_MAX_STREAMS   10
 Maximum number of streams returns in a stats result. More...
 
#define SPEEDIFYSDK_MAX_STREAM_NAME_LEN   50
 Maximum length of SpeedifySDK_StreamStats name field. More...
 
#define SPEEDIFYSDK_MAX_HOST_LEN   253
 Maximum length of SpeedifySDK_SafeBrowsingErrorResult host field. More...
 
#define SPEEDIFYSDK_MAX_STATS_PERIODS   5
 Maximum number of stat periods requested. More...
 
#define SPEEDIFYSDK_STAT_PERIOD_CURRENT   0
 Requests current live stats updates. More...
 
#define SPEEDIFYSDK_STAT_PERIOD_TOTAL   UINT32_MAX
 Requests total stats updates. More...
 
#define SPEEDIFYSDK_STAT_PERIOD_DAY   24
 Requests stats updates for last day. More...
 
#define SPEEDIFYSDK_STAT_PERIOD_WEEK   24*7
 Requests stats updates for last week. More...
 
#define SPEEDIFYSDK_STAT_PERIOD_MONTH   24*30
 Requests stats updates for last month. More...
 
#define SPEEDIFYSDK_MAX_STREAMING_DOMAINS   100
 Maximum number of domains returned. More...
 
#define SPEEDIFYSDK_MAX_STREAMING_IPS   100
 Maximum number of IPs returned. More...
 
#define SPEEDIFYSDK_MAX_STREAMING_PORTS   100
 Maximum number of ports returned. More...
 
#define SPEEDIFYSDK_MAX_LANGUAGE_LEN   3
 Language id length. More...
 
#define SPEEDIFYSDK_MAX_SPEED_TEST_RESULTS   5
 Maximum speed test results returned. More...
 
#define SPEEDIFYSDK_MAX_STREAM_RESOLUTION_LENGTH   6
 Maximum streaming resolution length. More...
 
#define SPEEDIFYSDK_MAX_APP_NAME_LENGTH   32
 Maximum SDK App name length. More...
 
#define SPEEDIFYSDK_MAX_TICKET_ID_LENGTH   32
 Maximum ticket id length. More...
 
#define SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH   33
 Maxmimum size a device's display name for pair and share discovery and advertisement. More...
 
#define SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH   129
 Maxmimum size of network sharing connect code. More...
 
#define SPEEDIFYSDK_MAX_NETWORK_SHARING_AVAILABLE_SHARES_RESULTS   32
 Maximum number of discovery results. More...
 
#define SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH   37
 Length of the peer UUID field. More...
 
#define SPEEDIFYSDK_MAX_ACTIVATION_CODE_LENGTH   7
 Length of the activation code field. More...
 
#define SPEEDIFYSDK_MAX_ACTIVATION_URL_LENGTH   256
 Length of the activation url field. More...
 
#define SPEEDIFYSDK_MAX_DATACENTER_LENGTH   20
 Length of the data center field. More...
 
#define SPEEDIFYSDK_MAX_HOSTNAME_LENGTH   256
 Length of the hostname field. More...
 
#define SPEEDIFYSDK_MAX_PROTOCOL_LENGTH   32
 Length of the protocol field. More...
 
#define SPEEDIFYSDK_MAX_PACKET_POOL_NAME_LENGTH   20
 Maximum length of the packet pool size string. More...
 
#define SPEEDIFYSDK_MAX_DSCP_QUEUE_LENGTH   64
 Maximum number of DSCP queues. More...
 

Macro Definition Documentation

◆ SPEEDIFYSDK_MAX_ACTIVATION_CODE_LENGTH

#define SPEEDIFYSDK_MAX_ACTIVATION_CODE_LENGTH   7

Length of the activation code field.

Since
14.0

◆ SPEEDIFYSDK_MAX_ACTIVATION_URL_LENGTH

#define SPEEDIFYSDK_MAX_ACTIVATION_URL_LENGTH   256

Length of the activation url field.

Since
14.0

◆ SPEEDIFYSDK_MAX_ADAPTER_NAME

#define SPEEDIFYSDK_MAX_ADAPTER_NAME   100

Adapter name length.

Since
7.5

◆ SPEEDIFYSDK_MAX_ADAPTERS

#define SPEEDIFYSDK_MAX_ADAPTERS   25

Simultaneous adapters supported.

Since
7.5

◆ SPEEDIFYSDK_MAX_APP_NAME_LENGTH

#define SPEEDIFYSDK_MAX_APP_NAME_LENGTH   32

Maximum SDK App name length.

Since
11.8

◆ SPEEDIFYSDK_MAX_CITY_LEN

#define SPEEDIFYSDK_MAX_CITY_LEN   20

City id.

Since
7.5

◆ SPEEDIFYSDK_MAX_COUNTRY_LEN

#define SPEEDIFYSDK_MAX_COUNTRY_LEN   10

Country id length.

Since
7.5

◆ SPEEDIFYSDK_MAX_DATACENTER_LENGTH

#define SPEEDIFYSDK_MAX_DATACENTER_LENGTH   20

Length of the data center field.

Since
14.0

◆ SPEEDIFYSDK_MAX_DIRECTORY_DOMAIN

#define SPEEDIFYSDK_MAX_DIRECTORY_DOMAIN   100

Length of directory server domain.

Since
7.5

◆ SPEEDIFYSDK_MAX_DNS_COUNT

#define SPEEDIFYSDK_MAX_DNS_COUNT   3

Maximum number of DNS addresses to configure.

Since
7.5

◆ SPEEDIFYSDK_MAX_DOMAIN_LENGTH

#define SPEEDIFYSDK_MAX_DOMAIN_LENGTH   50

Maximum length of domain to proxy.

Since
9.2

◆ SPEEDIFYSDK_MAX_DOWNSTREAM_SUBNETS

#define SPEEDIFYSDK_MAX_DOWNSTREAM_SUBNETS   10

Maximum number of subnets supported.

Since
14.0

◆ SPEEDIFYSDK_MAX_DSCP_QUEUE_LENGTH

#define SPEEDIFYSDK_MAX_DSCP_QUEUE_LENGTH   64

Maximum number of DSCP queues.

Since
15.0

◆ SPEEDIFYSDK_MAX_EMAIL

#define SPEEDIFYSDK_MAX_EMAIL   250

Email length.

Since
7.5

◆ SPEEDIFYSDK_MAX_ERROR_STRING

#define SPEEDIFYSDK_MAX_ERROR_STRING   200

Length of an error message.

Since
7.5

◆ SPEEDIFYSDK_MAX_FIREWALL_DOMAINS

#define SPEEDIFYSDK_MAX_FIREWALL_DOMAINS   100

Maximum number of domains returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_FIREWALL_IPS

#define SPEEDIFYSDK_MAX_FIREWALL_IPS   100

Maximum number of IPs returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_FIREWALL_PORTS

#define SPEEDIFYSDK_MAX_FIREWALL_PORTS   100

Maximum number of ports returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_FORWARD_PORTS

#define SPEEDIFYSDK_MAX_FORWARD_PORTS   20

Forwarded ports supported.

Since
7.5

◆ SPEEDIFYSDK_MAX_HOST_LEN

#define SPEEDIFYSDK_MAX_HOST_LEN   253

Maximum length of SpeedifySDK_SafeBrowsingErrorResult host field.

Since
10.6

◆ SPEEDIFYSDK_MAX_HOSTNAME_LENGTH

#define SPEEDIFYSDK_MAX_HOSTNAME_LENGTH   256

Length of the hostname field.

Since
14.1

◆ SPEEDIFYSDK_MAX_IP_COUNT

#define SPEEDIFYSDK_MAX_IP_COUNT   12

Maximum number of IPs on a server.

Since
7.5

◆ SPEEDIFYSDK_MAX_IP_STRING_LENGTH

#define SPEEDIFYSDK_MAX_IP_STRING_LENGTH   46

IP string length.

Since
7.5

◆ SPEEDIFYSDK_MAX_LANGUAGE_LEN

#define SPEEDIFYSDK_MAX_LANGUAGE_LEN   3

Language id length.

Since
10.8

◆ SPEEDIFYSDK_MAX_NETWORK_SHARING_AVAILABLE_SHARES_RESULTS

#define SPEEDIFYSDK_MAX_NETWORK_SHARING_AVAILABLE_SHARES_RESULTS   32

Maximum number of discovery results.

Since
14.0

◆ SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH

#define SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH   129

Maxmimum size of network sharing connect code.

Since
14.0

◆ SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH

#define SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH   33

Maxmimum size a device's display name for pair and share discovery and advertisement.

Since
14.0

◆ SPEEDIFYSDK_MAX_PACKET_POOL_NAME_LENGTH

#define SPEEDIFYSDK_MAX_PACKET_POOL_NAME_LENGTH   20

Maximum length of the packet pool size string.

Since
14.8.5

◆ SPEEDIFYSDK_MAX_PROTOCOL_LENGTH

#define SPEEDIFYSDK_MAX_PROTOCOL_LENGTH   32

Length of the protocol field.

Since
14.1

◆ SPEEDIFYSDK_MAX_PROXY_DOMAINS

#define SPEEDIFYSDK_MAX_PROXY_DOMAINS   100

Maximum number of domains returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_PROXY_IPS

#define SPEEDIFYSDK_MAX_PROXY_IPS   100

Maximum number of IPs returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_PROXY_PORTS

#define SPEEDIFYSDK_MAX_PROXY_PORTS   100

Maximum number of ports returned.

Since
9.2

◆ SPEEDIFYSDK_MAX_SERVER_FULL_NAME

#define SPEEDIFYSDK_MAX_SERVER_FULL_NAME   100

Server name length.

Since
7.5

◆ SPEEDIFYSDK_MAX_SERVERS

#define SPEEDIFYSDK_MAX_SERVERS   1024

Servers supported.

Since
7.5

◆ SPEEDIFYSDK_MAX_SPEED_TEST_RESULTS

#define SPEEDIFYSDK_MAX_SPEED_TEST_RESULTS   5

Maximum speed test results returned.

Since
11.0

◆ SPEEDIFYSDK_MAX_STATS_PERIODS

#define SPEEDIFYSDK_MAX_STATS_PERIODS   5

Maximum number of stat periods requested.

Since
10.0

◆ SPEEDIFYSDK_MAX_STREAM_NAME_LEN

#define SPEEDIFYSDK_MAX_STREAM_NAME_LEN   50

Maximum length of SpeedifySDK_StreamStats name field.

Since
9.6

◆ SPEEDIFYSDK_MAX_STREAM_RESOLUTION_LENGTH

#define SPEEDIFYSDK_MAX_STREAM_RESOLUTION_LENGTH   6

Maximum streaming resolution length.

Since
11.5

◆ SPEEDIFYSDK_MAX_STREAMING_DOMAINS

#define SPEEDIFYSDK_MAX_STREAMING_DOMAINS   100

Maximum number of domains returned.

Since
10.9

◆ SPEEDIFYSDK_MAX_STREAMING_IPS

#define SPEEDIFYSDK_MAX_STREAMING_IPS   100

Maximum number of IPs returned.

Since
10.9

◆ SPEEDIFYSDK_MAX_STREAMING_PORTS

#define SPEEDIFYSDK_MAX_STREAMING_PORTS   100

Maximum number of ports returned.

Since
10.9

◆ SPEEDIFYSDK_MAX_STREAMS

#define SPEEDIFYSDK_MAX_STREAMS   10

Maximum number of streams returns in a stats result.

Since
9.6

◆ SPEEDIFYSDK_MAX_TICKET_ID_LENGTH

#define SPEEDIFYSDK_MAX_TICKET_ID_LENGTH   32

Maximum ticket id length.

Since
14.8.6

◆ SPEEDIFYSDK_MAX_WATCHLIST_DOMAINS

#define SPEEDIFYSDK_MAX_WATCHLIST_DOMAINS   12

Maximum number of domains in a watchlist item.

Since
9.3

◆ SPEEDIFYSDK_MAX_WATCHLIST_ITEMS

#define SPEEDIFYSDK_MAX_WATCHLIST_ITEMS   100

Maximum number of domain watchlist items.

Since
9.3

◆ SPEEDIFYSDK_MAX_WATCHLIST_TITLE

#define SPEEDIFYSDK_MAX_WATCHLIST_TITLE   30

Maximum title length of domain watchlist item.

Since
9.3

◆ SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH

#define SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH   37

Length of the peer UUID field.

Since
14.0

◆ SPEEDIFYSDK_STAT_PERIOD_CURRENT

#define SPEEDIFYSDK_STAT_PERIOD_CURRENT   0

Requests current live stats updates.

Since
10.0

◆ SPEEDIFYSDK_STAT_PERIOD_DAY

#define SPEEDIFYSDK_STAT_PERIOD_DAY   24

Requests stats updates for last day.

Since
10.0

◆ SPEEDIFYSDK_STAT_PERIOD_MONTH

#define SPEEDIFYSDK_STAT_PERIOD_MONTH   24*30

Requests stats updates for last month.

Since
10.0

◆ SPEEDIFYSDK_STAT_PERIOD_TOTAL

#define SPEEDIFYSDK_STAT_PERIOD_TOTAL   UINT32_MAX

Requests total stats updates.

Since
10.0

◆ SPEEDIFYSDK_STAT_PERIOD_WEEK

#define SPEEDIFYSDK_STAT_PERIOD_WEEK   24*7

Requests stats updates for last week.

Since
10.0