Kaa client C SDK
|
#include <sys/socket.h>
#include <sys/select.h>
#include <arpa/inet.h>
#include "platform-impl/common/kaa_htonll.h"
Go to the source code of this file.
Macros | |
#define | KAA_HTONS(hostshort) htons((hostshort)) |
#define | KAA_HTONL(hostlong) htonl((hostlong)) |
#define | KAA_HTONLL(hostlonglong) kaa_htonll((hostlonglong)) |
#define | KAA_NTOHS(netshort) ntohs((netshort)) |
#define | KAA_NTOHL(netlong) ntohl((netlong)) |
#define | KAA_NTOHLL(netlonglong) kaa_ntohll((netlonglong)) |
Typedefs | |
typedef int | kaa_fd_t |
typedef struct sockaddr | kaa_sockaddr_t |
typedef struct sockaddr_storage | kaa_sockaddr_storage_t |
typedef socklen_t | kaa_socklen_t |
#define KAA_HTONL | ( | hostlong | ) | htonl((hostlong)) |
#define KAA_HTONLL | ( | hostlonglong | ) | kaa_htonll((hostlonglong)) |
#define KAA_HTONS | ( | hostshort | ) | htons((hostshort)) |
#define KAA_NTOHL | ( | netlong | ) | ntohl((netlong)) |
#define KAA_NTOHLL | ( | netlonglong | ) | kaa_ntohll((netlonglong)) |
#define KAA_NTOHS | ( | netshort | ) | ntohs((netshort)) |
typedef int kaa_fd_t |
typedef struct sockaddr_storage kaa_sockaddr_storage_t |
typedef struct sockaddr kaa_sockaddr_t |
typedef socklen_t kaa_socklen_t |