• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 12.0.1.79
GD_C_netdb.h File Reference
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>

Enumerations

enum  GD_ROUTE {
  GD_ROUTE_UNKNOWN,
  GD_ROUTE_INTERNET,
  GD_ROUTE_GOOD_PROXY,
  GD_ROUTE_DENY,
  GD_ROUTE_INTERNET_LISTED
}
 Route information constants. More...
 

Functions

struct hostent * GD_gethostbyname (const char *name)
 C API. More...
 
int GD_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **addresses)
 C API. More...
 
int GD_freeaddrinfo (struct addrinfo *ai)
 C API. More...
 
int GD_getnameinfo (const struct sockaddr *address, socklen_t addressLength, char *node, size_t nodeLength, char *service, size_t serviceLength, int flags)
 C API. More...
 
enum GD_ROUTE GD_getRouteInfo (const struct sockaddr *address)
 Check if routing is via the BlackBerry Dynamics infrastructure. More...