#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <string.h>
#include <signal.h>
#include <math.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | callback) (void) |
Functions | |
void | freenect_network_close () |
int | freenect_network_init (callback cb) |
int | freenect_network_initSocket (struct sockaddr_in si_type, int conf_port, int *the_socket) |
void | freenect_network_read (char *buff, int *len) |
int | freenect_network_sendMessage (int first, int second, unsigned char *data, int len) |
void | freenect_network_wait () |
typedef void(* callback) (void) |
Definition at line 49 of file freenect_network.h.
void freenect_network_close | ( | ) |
Definition at line 126 of file freenect_network.c.
int freenect_network_init | ( | callback | cb | ) |
Definition at line 44 of file freenect_network.c.
int freenect_network_initSocket | ( | struct sockaddr_in | si_type, |
int | conf_port, | ||
int * | the_socket | ||
) |
Definition at line 186 of file freenect_network.c.
void freenect_network_read | ( | char * | buff, |
int * | len | ||
) |
Definition at line 69 of file freenect_network.c.
int freenect_network_sendMessage | ( | int | first, |
int | second, | ||
unsigned char * | data, | ||
int | len | ||
) |
Definition at line 80 of file freenect_network.c.
void freenect_network_wait | ( | ) |
Definition at line 98 of file freenect_network.c.