#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <Boap.h>
#include <byteswap.h>
#include <BoapnsD.h>
#include <BoapnsC.h>
Defines | |
#define | APIVERSION_TEST 1 |
#define | DEBUG 0 |
#define | dprintf(fmt, a...) |
#define | IS_BIG_ENDIAN 1 |
Functions | |
static void | swap8 (char *d, char *s) |
static void | swap16 (char *d, char *s) |
static void | swap32 (char *d, char *s) |
static void | swap64 (char *d, char *s) |
Variables | |
const int | boapPort = 12000 |
The default BOAP connection port. | |
const int | roundSize = 256 |
#define APIVERSION_TEST 1 |
#define DEBUG 0 |
#define dprintf | ( | fmt, | |||
a... | ) |
#define IS_BIG_ENDIAN 1 |
static void swap16 | ( | char * | d, | |
char * | s | |||
) | [inline, static] |
static void swap32 | ( | char * | d, | |
char * | s | |||
) | [inline, static] |
static void swap64 | ( | char * | d, | |
char * | s | |||
) | [inline, static] |
static void swap8 | ( | char * | d, | |
char * | s | |||
) | [inline, static] |
const int boapPort = 12000 |
The default BOAP connection port.
const int roundSize = 256 |