-
- BlackBerry Dynamics
- Runtime library for iOS applications
- 12.0.1.79
Go to the documentation of this file.
17 # define GD_C_API __attribute__((visibility("default")))
24 #include <sys/types.h>
25 #include <sys/socket.h>
66 const struct addrinfo* hints,
67 struct addrinfo** addresses);
75 GD_C_API
int GD_getnameinfo(
const struct sockaddr* address, socklen_t addressLength,
76 char* node,
size_t nodeLength,
77 char* service,
size_t serviceLength,
GD_ROUTE
Route information constants.
Definition: GD_C_netdb.h:32
@ GD_ROUTE_DENY
The connection will be denied via the BlackBerry Dynamics SDK.
Definition: GD_C_netdb.h:50
int GD_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **addresses)
C API.
@ GD_ROUTE_INTERNET_LISTED
The connection will be routed direct to the Internet per WhiteList.
Definition: GD_C_netdb.h:54
int GD_getnameinfo(const struct sockaddr *address, socklen_t addressLength, char *node, size_t nodeLength, char *service, size_t serviceLength, int flags)
C API.
@ GD_ROUTE_UNKNOWN
The connection information didn't include BlackBerry Dynamics routing information.
Definition: GD_C_netdb.h:37
enum GD_ROUTE GD_getRouteInfo(const struct sockaddr *address)
Check if routing is via the BlackBerry Dynamics infrastructure.
struct hostent * GD_gethostbyname(const char *name)
C API.
@ GD_ROUTE_INTERNET
The connection will be routed direct to the Internet.
Definition: GD_C_netdb.h:41
@ GD_ROUTE_GOOD_PROXY
The connection will be routed via the BlackBerry Dynamics infrastructure.
Definition: GD_C_netdb.h:46
int GD_freeaddrinfo(struct addrinfo *ai)
C API.