Added state dump, fixed numerous RPC related bugs

This commit is contained in:
Joseph Henry
2015-10-29 17:57:59 -07:00
parent f6e0bdb2f2
commit 96eb0ce492
10 changed files with 256 additions and 102 deletions

View File

@ -31,6 +31,11 @@
namespace ZeroTier
{
void dwr(char *str, ... );
void clearscreen();
void gotoxy(int x,int y);
void get_path_from_pid(char* dest, int pid);
void get_path_from_fd(char* dest, int pid, int fd);
ip_addr_t ip_addr_sin(register struct sockaddr_in *sin);
ssize_t sock_fd_write(int sock, int fd);
ssize_t sock_fd_read(int sock, void *buf, ssize_t bufsize, int *fd);