Speedify SDK for Desktop/Embedded 16.7.0
Loading...
Searching...
No Matches
types.h File Reference
#include "sdkdefines.h"
#include <stdbool.h>
#include <stdint.h>
#include <time.h>
#include "../cJSON.h"
#include <netinet/ip.h>
#include <arpa/inet.h>

Go to the source code of this file.

Data Structures

struct  SpeedifySDK_CreateSettings
 SDK creation settings structure. More...
 
struct  SpeedifySDK_Version
 Version structure. More...
 
struct  SpeedifySDK_ServerInformation
 Detailed information about a server. More...
 
struct  SpeedifySDK_AccountingData
 Data on an account. More...
 
struct  SpeedifySDK_AdapterUsageData
 Information about the data usage and limits of a network adapter. More...
 
struct  SpeedifySDK_ConnectionDirectionalSettings
 Directional settings for a connection. More...
 
struct  SpeedifySDK_AdapterData
 Information about a network adapter. More...
 
struct  SpeedifySDK_ServerSettings
 Automatic server selection method settings. More...
 
struct  SpeedifySDK_ProtocolPortPair
 A protocol/port pair. More...
 
struct  SpeedifySDK_Subnet
 A subnet. More...
 
struct  SpeedifySDK_PerConnectionEncryption
 Adapter setting for per-connection encryption. More...
 
struct  SpeedifySDK_PerConnectionExposeDscp
 Adapter setting for per-connection expose DSCP. More...
 
struct  SpeedifySDK_PerConnectionParallelSockets
 Adapter setting for per-connection parallel sockets. More...
 
struct  SpeedifySDK_TargetNumberOfConnections
 Target number of connections for the VPN tunnel. More...
 
struct  SpeedifySDK_Settings
 Speedify settings. More...
 
struct  SpeedifySDK_PrivacySettings
 Privacy settings. More...
 
struct  SpeedifySDK_ConnectionStats
 Statistics about a connection. More...
 
struct  SpeedifySDK_ConnectionStatsGroup
 A grouping of ConnectionStats. More...
 
struct  SpeedifySDK_TunStats
 Contains stats regarding the TUN, for use in session stats. More...
 
struct  SpeedifySDK_HandlerStats
 Contains stats regarding the packet handler, for use in session stats. More...
 
struct  SpeedifySDK_CaptivePortalStats
 Contains stats regarding the captive portal. More...
 
struct  SpeedifySDK_StreamingSessionStats
 Contains session stats regarding streaming mode. More...
 
struct  SpeedifySDK_DscpStats
 Contains stats for a defined DSCP queue. More...
 
struct  SpeedifySDK_DscpStatsArray
 Array of DSCP queue stats. More...
 
struct  SpeedifySDK_SessionStats
 Statistics for a period. More...
 
struct  SpeedifySDK_SessionStatPeriods
 Statistics for sessions over various time periods. More...
 
struct  SpeedifySDK_LocalProxyDomainWatchlistItem
 Local proxy domain watchlist item. More...
 
struct  SpeedifySDK_LocalProxySettings
 Settings for the local proxy. More...
 
struct  SpeedifySDK_StreamingSettings
 Settings for the priority streaming. More...
 
struct  SpeedifySDK_FirewallSettings
 Firewall settings. More...
 
struct  SpeedifySDK_StreamStats
 Statistics for a single stream. More...
 
struct  SpeedifySDK_StreamingStats
 Streaming mode stats. More...
 
struct  SpeedifySDK_DisconnectEvent
 Information about a disconnect event. More...
 
struct  SpeedifySDK_DaemonLogSettings
 Settings for logging in the daemon. More...
 
struct  SpeedifySDK_DirectorySettings
 Directory settings. More...
 
struct  SpeedifySDK_SpeedTestResultData
 Results of a speed test. More...
 
struct  SpeedifySDK_NetworkSharingSettings
 Network sharing settings. More...
 
struct  SpeedifySDK_NetworkSharingUsage
 Network sharing usage data. More...
 
struct  SpeedifySDK_NetworkSharingConnection
 Network sharing connection. More...
 
struct  SpeedifySDK_NetworkSharePeer
 Represents a network share peer. More...
 
struct  SpeedifySDK_DSCPQueue
 DSCP queue configuration. More...
 
struct  SpeedifySDK_DSCPSettings
 DSCP settings. More...
 
struct  SpeedifySDK_SystemData
 

Macros

#define AA_ACTIVATE_OR_PURCHASE_LICENCE   AA_ACTIVATE_OR_PURCHASE_LICENSE
 

Typedefs

typedef char SpeedifySDK_IPAddressString[SPEEDIFYSDK_MAX_IP_STRING_LENGTH]
 String representation of an IP address.
 
typedef char SpeedifySDK_DNSAddressString[SPEEDIFYSDK_MAX_DNS_STRING_LENGTH]
 String representation of a DNS address.
 
typedef char SpeedifySDK_DomainString[SPEEDIFYSDK_MAX_DOMAIN_LENGTH]
 String representation of a domain or hostname.
 
typedef char SpeedifySDK_AppNameString[SPEEDIFYSDK_MAX_APP_NAME_LENGTH]
 String representation of a SDK App name.
 
typedef char SpeedifySDK_DateTimeString[SPEEDIFYSDK_MAX_DATE_TIME_LENGTH]
 String representation of a date and time.
 
typedef SpeedifySDK_ServerInformation SpeedifySDK_ServerInformationDetailed
 Information about a.
 
typedef SpeedifySDK_ProtocolPortPair SpeedifySDK_ForwardedPort
 A forwarded port.
 
typedef char SpeedifySDK_HostnameString[SPEEDIFYSDK_MAX_HOSTNAME_LENGTH]
 String representation of an IP address.
 
typedef SpeedifySDK_ProtocolPortPair SpeedifySDK_LocalProxyPort
 A proxied port.
 
typedef SpeedifySDK_ProtocolPortPair SpeedifySDK_StreamingPort
 A streaming port.
 
typedef SpeedifySDK_ProtocolPortPair SpeedifySDK_FirewallPort
 A firewall port.
 
typedef char SpeedifySDK_NetworkSharingConnectCode[SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH]
 Connect code for network sharing.
 
typedef char SpeedifySDK_NetworkSharingDisplayName[SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH]
 The public display name for this device.
 
typedef char SpeedifySDK_NetworkSharingPeerUuid[SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH]
 Peer UUID for network sharing peer data.
 
typedef uint8_t SpeedifySDK_DscpValue
 DSCP value.
 

Enumerations

enum  SpeedifySDK_State {
  STATE_LOGGED_OUT , STATE_LOGGING_IN , STATE_LOGGED_IN , STATE_AUTO_CONNECTING ,
  STATE_CONNECTING , STATE_DISCONNECTING , STATE_CONNECTED , STATE_OVERLIMIT ,
  STATE_UNKNOWN
}
 State of the VPN. More...
 
enum  SpeedifySDK_AutoConnectMethod {
  ACM_CLOSEST , ACM_CLOSESTPRIVATE , ACM_CLOSESTPUBLIC , ACM_LAST ,
  ACM_P2P , ACM_BYSETTING , ACM_COUNTRYCITYSERVER , ACM_EXACT ,
  ACM_PROXY , ACM_IGNORELAST
}
 Methods for automatic server selection. More...
 
enum  SpeedifySDK_AccountPaymentType { APT_FREE , APT_MONTHLY , APT_YEARLY }
 Information on an account's payment type. More...
 
enum  SpeedifySDK_AccountAction {
  AA_NONE , AA_RETRY_LOGIN , AA_CONNECT_INTERNET_AND_RETRY_LOGIN , AA_ACTIVATE ,
  AA_ACTIVATE_OR_PURCHASE_LICENSE
}
 Actions that should be taken on an account. More...
 
enum  SpeedifySDK_ConnectionState { CSTATE_DISCONNECTED , CSTATE_CONNECTING , CSTATE_CONNECTED }
 State of Speedify on a given connection (network adapter). More...
 
enum  SpeedifySDK_NetworkType {
  NETWORKTYPE_WIFI , NETWORKTYPE_ETHERNET , NETWORKTYPE_CELLULAR , NETWORKTYPE_VPN ,
  NETWORKTYPE_LOOPBACK , NETWORKTYPE_BLUETOOTH , NETWORKTYPE_NETWORKSHARE_CLIENT , NETWORKTYPE_NETWORKSHARE_HOST ,
  NETWORKTYPE_UNKNOWN
}
 Type of network adapter. More...
 
enum  SpeedifySDK_ConnectionPriority {
  CP_ALWAYS , CP_SECONDARY , CP_BACKUP , CP_NEVER ,
  CP_AUTOMATIC
}
 How a connection should be combined. More...
 
enum  SpeedifySDK_ConnectionDirectionalMode { CDM_ON , CDM_STRICT_OFF , CDM_BACKUP_OFF }
 Directional mode of a connection. More...
 
enum  SpeedifySDK_BondingMode { BMODE_SPEED , BMODE_REDUNDANT , BMODE_STREAMING }
 Mode of the VPN tunnel. More...
 
enum  SpeedifySDK_TransportMode {
  TMODE_TCP , TMODE_UDP , TMODE_AUTO , TMODE_HTTPS ,
  TMODE_MULTITCP , TMODE_PROXY , TMODE_SHARE
}
 Transport Protocol modes. More...
 
enum  SpeedifySDK_PortProtocol { PPROTO_TCP , PPROTO_UDP , PPROTO_ICMP }
 Protocol for ports. More...
 
enum  SpeedifySDK_ErrorType {
  ET_OK = 0 , ET_NETWORK = 1 , ET_SERVER = 2 , ET_CREDENTIAL = 3 ,
  ET_DIRECTORY = 4 , ET_ACCOUNT = 5 , ET_RATELIMITED = 6 , ET_TOKEN_EXPIRED = 7 ,
  ET_VPN_ADAPTER = 8 , ET_DEVICE_LIMIT = 10 , ET_LOCK_TEAM =11 , ET_LOCK_ACCOUNT =12 ,
  ET_INVALID_ARGUMENT =13 , ET_SDK_ASYNC = 0xE00 , ET_SDK_ERROR = 0xF00 , ET_SDK_TIMEOUT ,
  ET_SDK_INVALID_ARGUMENT , ET_SDK_CALLBACK_REQUIRED , ET_SDK_PLATFORM_NO_SUPPORT , ET_SDK_NO_CONNECTION ,
  ET_SDK_SYNC_FROM_ASYNC , ET_SDK_SETTING_LOCKED_TEAM = ET_LOCK_TEAM , ET_SDK_SETTING_LOCKED_ACCOUNT = ET_LOCK_ACCOUNT
}
 Type classification for errors. More...
 
enum  SpeedifySDK_ProxyMatchMode { PMM_ALLOWLIST , PMM_DENYLIST }
 How local proxy treats matches. More...
 
enum  SpeedifySDK_FirewallMode { FWM_OFF , FWM_ALLOWLIST , FWM_DENYLIST }
 How firewall treats matches. More...
 
enum  SpeedifySDK_StreamHealth { SH_STOPPED , SH_POOR , SH_GOOD }
 Stream health indicator. More...
 
enum  SpeedifySDK_DisconnectReason {
  DR_UNKNOWN , DR_CONNECTIVITY , DR_AIRPLANE , DR_REBOOT ,
  DR_UPDATE , DR_CRASH , DR_SLEEP , DR_USERINITIATED ,
  DR_TORRENT , DR_SERVICESTOP , DR_STARTTIMEOUT , DR_INACTIVETIMEOUT ,
  DR_SETTINGCHANGERECONNECT , DR_DNSTIMEOUT , DR_TUNNELTIMEOUT , DR_OVERQUOTA ,
  DR_SAFENETWORK , DR_NONE
}
 Reason for a disconnect. More...
 
enum  SpeedifySDK_LogLevel { LL_VERBOSE , LL_INFO , LL_WARN , LL_ERROR }
 Log levels in the SDK. More...
 
enum  SpeedifySDK_SafeBrowsingError {
  CUJO_OK , CUJO_ERR_NO_ENDPOINT_URL , CUJO_ERR_NOT_CONFIGURED , CUJO_ERR_TIMED_OUT ,
  CUJO_ERR_RETRIABLE_SERVER_ERROR , CUJO_ERR_HTTP_STATUS , CUJO_ERR_CURL , CUJO_ERR_NO_MEMORY ,
  CUJO_ERR_BAD_FUNCTION_ARGUMENT , CUJO_ERR_PARSE_ERROR , CUJO_ERR_CURL_INIT_FAILURE , CUJO_ERR_CURL_EASY_INIT_FAILURE ,
  CUJO_ERR_CURL_HEADER_APPEND_FAILURE , CUJO_ERR_JSON_SET_FAILURE , CUJO_ERR_UV_LOOP_INIT_FAILURE , CUJO_ERR_ALREADY_IN_PROGRESS ,
  CUJO_ERR_INVALID_NSP_TOKEN , CUJO_ERR_ON_PROTECTED_NETWORK , CUJO_ERR_ASYNC_INIT_FAILURE , CUJO_ERR_INTERRUPTED_EVENT_LOOP
}
 Safe browsing errors. More...
 
enum  SpeedifySDK_SafeBrowsingLogLevel {
  CUJO_LOG_DEBUG , CUJO_LOG_INFO , CUJO_LOG_ERROR , CUJO_LOG_TRACE ,
  CUJO_LOG_WARNING
}
 Log levels in the SDK. More...
 
enum  SpeedifySDK_SafeBrowsingSafeNetworkOverride { SN_OVERRIDE_NONE , SN_OVERRIDE_UNSAFE , SN_OVERRIDE_SAFE }
 Override safe network decisions. More...
 
enum  SpeedifySDK_SpeedTestType { TEST_SPEED , TEST_STREAMING }
 Internal speed test types. More...
 
enum  SpeedifySDK_NetworkSharingPeerRole { PR_CLIENT , PR_HOST }
 peer role More...
 
enum  SpeedifySDK_NetworkSharingPairRequestBehavior { PRB_ASK , PRB_ACCEPT , PRB_REJECT }
 pair request behavior types More...
 
enum  SpeedifySDK_NetworkSharingAutoPairBehavior { APB_MANUAL , APB_AUTO_USER , APB_AUTO_USER_TEAM }
 Auto pair behavior types. More...
 
enum  SpeedifySDK_NetworkSharingPeerStatus { NPS_DISCONNECTED , NPS_UNAUTHENTICATED , NPS_AUTHENTICATED }
 Status of a NetworkSharing Peer Connection. More...
 
enum  SpeedifySDK_NetworkSharingTunnelStatus {
  NTS_INACTIVE , NTS_ACTIVE , NTS_DISABLED_ON_CLIENT , NTS_DISABLED_ON_HOST ,
  NTS_NO_NETWORKS , NTS_TUNNEL_ERROR , NTS_NOT_AUTHENTICATED , NTS_NETWORKS_OVERLIMIT ,
  NTS_VPN_NOT_CONNECTED , NTS_PAUSED
}
 Status of a NetworkSharing tunnel. More...
 
enum  SpeedifySDK_DSCPReplication { DSCP_REPLICATION_AUTO , DSCP_REPLICATION_ON , DSCP_REPLICATION_OFF }
 DSCP replication behavior. More...
 
enum  SpeedifySDK_DSCPPriority { DSCP_PRIORITY_AUTO , DSCP_PRIORITY_ON , DSCP_PRIORITY_OFF }
 DSCP priority behavior. More...
 
enum  SpeedifySDK_TrafficRuleChangeMethod { TRAFFIC_RULE_UPDATE , TRAFFIC_RULE_REPLACE , TRAFFIC_RULE_REMOVE }
 Traffic rules change method. More...
 
enum  SpeedifySDK_DeviceRole { DR_CLIENT , DR_ROUTER , DR_PROGEAR }
 Device Role. More...
 

Functions

void SpeedifySDK_InitializeCreateSettings (SpeedifySDK_CreateSettings *settings)
 Initialize an SpeedifySDK_CreateSettings object to defaults.
 
const char * SpeedifySDK_Version_toString (SpeedifySDK_Version state)
 String representation of a SpeedifySDK_Version.
 
const char * SpeedifySDK_State_toString (SpeedifySDK_State state)
 String representation of a SpeedifySDK_State.
 
const char * SpeedifySDK_AutoConnectMethod_toString (SpeedifySDK_AutoConnectMethod method)
 String representation of a SpeedifySDK_AutoConnectMethod.
 
const char * SpeedifySDK_ServerInformation_GetCountryName (SpeedifySDK_ServerInformation server)
 String representation of a SpeedifySDK_ServerInformation's country.
 
const char * SpeedifySDK_ServerInformation_GetCityName (SpeedifySDK_ServerInformation server)
 String representation of a SpeedifySDK_ServerInformation's city.
 
const char * SpeedifySDK_ServerInformation_toString (SpeedifySDK_ServerInformation server)
 String representation of a SpeedifySDK_ServerInformation.
 
const char * SpeedifySDK_ServerInformationDetailed_GetCountryName (SpeedifySDK_ServerInformationDetailed server)
 String representation of a SpeedifySDK_ServerInformationDetailed's country.
 
const char * SpeedifySDK_ServerInformationDetailed_GetCityName (SpeedifySDK_ServerInformationDetailed server)
 String representation of a SpeedifySDK_ServerInformationDetailed's city.
 
const char * SpeedifySDK_ServerInformationDetailed_toString (SpeedifySDK_ServerInformationDetailed server)
 String representation of a SpeedifySDK_ServerInformationDetailed.
 
const char * SpeedifySDK_AccountPaymentType_toString (SpeedifySDK_AccountPaymentType paymentType)
 String representation of a SpeedifySDK_AccountPaymentType.
 
const char * SpeedifySDK_AccountAction_toString (SpeedifySDK_AccountAction action)
 String representation of a SpeedifySDK_AccountAction.
 
const char * SpeedifySDK_ConnectionState_toString (SpeedifySDK_ConnectionState state)
 String representation of a SpeedifySDK_ConnectionState.
 
const char * SpeedifySDK_NetworkType_toString (SpeedifySDK_NetworkType type)
 String representation of a SpeedifySDK_NetworkType.
 
const char * SpeedifySDK_ConnectionPriority_toString (SpeedifySDK_ConnectionPriority priority)
 String representation of a SpeedifySDK_ConnectionPriority.
 
const char * SpeedifySDK_ConnectionDirectionalMode_toString (SpeedifySDK_ConnectionDirectionalMode mode)
 
const char * SpeedifySDK_BondingMode_toString (SpeedifySDK_BondingMode priority)
 String representation of a SpeedifySDK_BondingMode.
 
const char * SpeedifySDK_TransportMode_toString (SpeedifySDK_TransportMode priority)
 String representation of a SpeedifySDK_TransportMode.
 
const char * SpeedifySDK_PortProtocol_toString (SpeedifySDK_PortProtocol portProto)
 String representation of a SpeedifySDK_PortProtocol.
 
const char * SpeedifySDK_ErrorType_toString (SpeedifySDK_ErrorType error)
 String representation of a SpeedifySDK_ErrorType.
 
const char * SpeedifySDK_ProxyMatchMode_toString (SpeedifySDK_ProxyMatchMode matchMode)
 String representation of a SpeedifySDK_ProxyMatchMode.
 
const char * SpeedifySDK_FirewallMode_toString (SpeedifySDK_FirewallMode matchMode)
 String representation of a SpeedifySDK_ProxyMatchMode.
 
const char * SpeedifySDK_StreamHealth_toString (SpeedifySDK_StreamHealth health)
 String representation of a SpeedifySDK_StreamHealth.
 
const char * SpeedifySDK_DisconnectReason_toString (SpeedifySDK_DisconnectReason reason)
 
const char * SpeedifySDK_LogLevel_toString (SpeedifySDK_LogLevel level)
 
const char * SpeedifySDK_SafeBrowsing_LogLevel_toString (SpeedifySDK_SafeBrowsingLogLevel level)
 
const char * SpeedifySDK_SafeBrowsing_SafeNetworkOverride_toString (SpeedifySDK_SafeBrowsingSafeNetworkOverride level)
 
const char * SpeedifySDK_SpeedTestType_toString (SpeedifySDK_SpeedTestType type)
 String representation of a SpeedifySDK_SpeedTestType.
 
const char * SpeedifySDK_NetworkSharingPeerRole_toString (SpeedifySDK_NetworkSharingPeerRole role)
 String representation of a SpeedifySDK_NetworkSharingPeerRole.
 
const char * SpeedifySDK_NetworkSharingPairRequestBehavior_toString (SpeedifySDK_NetworkSharingPairRequestBehavior behavior)
 String representation of a SpeedifySDK_NetworkSharingPairRequestBehavior.
 
const char * SpeedifySDK_NetworkSharingAutoPairBehavior_toString (SpeedifySDK_NetworkSharingAutoPairBehavior behavior)
 String representation of a SpeedifySDK_NetworkSharingAutoPairBehavior.
 
const char * SpeedifySDK_NetworkSharingPeerStatus_toString (SpeedifySDK_NetworkSharingPeerStatus status)
 String representation of a SpeedifySDK_NetworkSharingTunnelStatus.
 
const char * SpeedifySDK_NetworkSharingTunnelStatus_toString (SpeedifySDK_NetworkSharingTunnelStatus status)
 String representation of a SpeedifySDK_NetworkSharingTunnelStatus.
 
const char * SpeedifySDK_DSCPReplication_toString (SpeedifySDK_DSCPReplication replication)
 String representation of a SpeedifySDK_DSCPReplication.
 
const char * SpeedifySDK_DSCPPriority_toString (SpeedifySDK_DSCPPriority priority)
 String representation of a SpeedifySDK_DSCPPriority.
 
const char * SpeedifySDK_DeviceRole_toString (SpeedifySDK_DeviceRole role)
 String representation of a SpeedifySDK_DeviceRole.
 

Typedef Documentation

◆ SpeedifySDK_DscpValue

typedef uint8_t SpeedifySDK_DscpValue

DSCP value.

Since
16.0.2

◆ SpeedifySDK_NetworkSharingConnectCode

typedef char SpeedifySDK_NetworkSharingConnectCode[SPEEDIFYSDK_MAX_NETWORKSHARING_CONNECT_CODE_LENGTH]

Connect code for network sharing.

Since
14.0

◆ SpeedifySDK_NetworkSharingDisplayName

typedef char SpeedifySDK_NetworkSharingDisplayName[SPEEDIFYSDK_MAX_NETWORKSHARING_DISPLAY_NAME_LENGTH]

The public display name for this device.

Since
14.0

◆ SpeedifySDK_NetworkSharingPeerUuid

typedef char SpeedifySDK_NetworkSharingPeerUuid[SPEEDIFYSDK_NETWORKSHARING_PEER_UUID_LENGTH]

Peer UUID for network sharing peer data.

Since
14.0

Enumeration Type Documentation

◆ SpeedifySDK_DeviceRole

Device Role.

Since
16.0.3
Enumerator
DR_CLIENT 

Client Device.

Since
16.0.3
DR_ROUTER 

Router Device.

Since
16.0.3
DR_PROGEAR 

Professional Video Gear Device.

Since
16.0.3

◆ SpeedifySDK_DSCPPriority

DSCP priority behavior.

Since
15.0
Enumerator
DSCP_PRIORITY_AUTO 

Speedify stream detection.

Since
15.0
DSCP_PRIORITY_ON 

DSCP priority is on.

Since
15.0
DSCP_PRIORITY_OFF 

DSCP priority is off.

Since
15.0

◆ SpeedifySDK_DSCPReplication

DSCP replication behavior.

Since
15.0
Enumerator
DSCP_REPLICATION_AUTO 

Speedify stream mode behavior.

Since
15.0
DSCP_REPLICATION_ON 

DSCP replication is on.

Since
15.0
DSCP_REPLICATION_OFF 

DSCP replication is off.

Since
15.0

◆ SpeedifySDK_NetworkSharingAutoPairBehavior

Auto pair behavior types.

Since
14.8
Enumerator
APB_MANUAL 

no automatic pairing

Since
14.8
APB_AUTO_USER 

Automatically pair with devices from the same user.

Since
14.8
APB_AUTO_USER_TEAM 

Automatically pair with devices from the same user and/or team.

Since
14.8

◆ SpeedifySDK_NetworkSharingPairRequestBehavior

pair request behavior types

Since
14.0
Enumerator
PRB_ASK 

always ask

Since
14.0
PRB_ACCEPT 

automatically accept

Since
14.0
PRB_REJECT 

automatically reject

Since
14.0

◆ SpeedifySDK_NetworkSharingPeerRole

peer role

Since
14.0
Enumerator
PR_CLIENT 

client

Since
14.0
PR_HOST 

host

Since
14.0

◆ SpeedifySDK_NetworkSharingPeerStatus

Status of a NetworkSharing Peer Connection.

Since
14.0
Enumerator
NPS_DISCONNECTED 

The connection is disconnected.

Since
14.0
NPS_UNAUTHENTICATED 

connected, but not authenticated

Since
14.0
NPS_AUTHENTICATED 

connected and authenticated

Since
14.0

◆ SpeedifySDK_NetworkSharingTunnelStatus

Status of a NetworkSharing tunnel.

Since
14.0
Enumerator
NTS_INACTIVE 

No active tunnels.

Since
14.0
NTS_ACTIVE 

active tunnels

Since
14.0
NTS_DISABLED_ON_CLIENT 

disallowed on client

Since
14.0
NTS_DISABLED_ON_HOST 

disallowed on host

Since
14.0
NTS_NO_NETWORKS 

no networks available

Since
14.0
NTS_TUNNEL_ERROR 

general error

Since
14.0
NTS_NOT_AUTHENTICATED 

not authenticated

Since
14.0
NTS_NETWORKS_OVERLIMIT 

All networks are over data limit.

Since
14.0
NTS_VPN_NOT_CONNECTED 

Host's VPN not connected.

Since
14.0
NTS_PAUSED 

Active but paused.

Since
14.7

◆ SpeedifySDK_SafeBrowsingLogLevel

Log levels in the SDK.

Since
10.8
Enumerator
CUJO_LOG_DEBUG 
CUJO_LOG_INFO 
CUJO_LOG_ERROR 
CUJO_LOG_TRACE 
Since
11.2.2
CUJO_LOG_WARNING 
Since
11.4

◆ SpeedifySDK_SafeBrowsingSafeNetworkOverride

Override safe network decisions.

Since
11.1
Enumerator
SN_OVERRIDE_NONE 
SN_OVERRIDE_UNSAFE 
SN_OVERRIDE_SAFE 

◆ SpeedifySDK_SpeedTestType

Internal speed test types.

Since
11.5
Enumerator
TEST_SPEED 
TEST_STREAMING 

◆ SpeedifySDK_TrafficRuleChangeMethod

Traffic rules change method.

Since
15.6
Enumerator
TRAFFIC_RULE_UPDATE 

Update an existing traffic rule, or add a new one if it doesn't exist.

Since
15.6
TRAFFIC_RULE_REPLACE 

Replace an existing traffic rule, or add a new one if it doesn't exist.

Since
15.6
TRAFFIC_RULE_REMOVE 

Remove an existing traffic rule.

Since
15.6

Function Documentation

◆ SpeedifySDK_DeviceRole_toString()

const char * SpeedifySDK_DeviceRole_toString ( SpeedifySDK_DeviceRole role)

String representation of a SpeedifySDK_DeviceRole.

Since
16.0.3

◆ SpeedifySDK_DSCPPriority_toString()

const char * SpeedifySDK_DSCPPriority_toString ( SpeedifySDK_DSCPPriority priority)

String representation of a SpeedifySDK_DSCPPriority.

Since
15.0

◆ SpeedifySDK_DSCPReplication_toString()

const char * SpeedifySDK_DSCPReplication_toString ( SpeedifySDK_DSCPReplication replication)

String representation of a SpeedifySDK_DSCPReplication.

Since
15.0

◆ SpeedifySDK_NetworkSharingAutoPairBehavior_toString()

const char * SpeedifySDK_NetworkSharingAutoPairBehavior_toString ( SpeedifySDK_NetworkSharingAutoPairBehavior behavior)

String representation of a SpeedifySDK_NetworkSharingAutoPairBehavior.

Since
14.8

◆ SpeedifySDK_NetworkSharingPairRequestBehavior_toString()

const char * SpeedifySDK_NetworkSharingPairRequestBehavior_toString ( SpeedifySDK_NetworkSharingPairRequestBehavior behavior)

String representation of a SpeedifySDK_NetworkSharingPairRequestBehavior.

Since
14.0

◆ SpeedifySDK_NetworkSharingPeerRole_toString()

const char * SpeedifySDK_NetworkSharingPeerRole_toString ( SpeedifySDK_NetworkSharingPeerRole role)

String representation of a SpeedifySDK_NetworkSharingPeerRole.

Since
14.0

◆ SpeedifySDK_NetworkSharingPeerStatus_toString()

const char * SpeedifySDK_NetworkSharingPeerStatus_toString ( SpeedifySDK_NetworkSharingPeerStatus status)

String representation of a SpeedifySDK_NetworkSharingTunnelStatus.

Since
14.0

◆ SpeedifySDK_NetworkSharingTunnelStatus_toString()

const char * SpeedifySDK_NetworkSharingTunnelStatus_toString ( SpeedifySDK_NetworkSharingTunnelStatus status)

String representation of a SpeedifySDK_NetworkSharingTunnelStatus.

Since
14.0

◆ SpeedifySDK_SafeBrowsing_LogLevel_toString()

const char * SpeedifySDK_SafeBrowsing_LogLevel_toString ( SpeedifySDK_SafeBrowsingLogLevel level)

◆ SpeedifySDK_SafeBrowsing_SafeNetworkOverride_toString()

const char * SpeedifySDK_SafeBrowsing_SafeNetworkOverride_toString ( SpeedifySDK_SafeBrowsingSafeNetworkOverride level)

◆ SpeedifySDK_SpeedTestType_toString()

const char * SpeedifySDK_SpeedTestType_toString ( SpeedifySDK_SpeedTestType type)

String representation of a SpeedifySDK_SpeedTestType.

Since
11.5