doorbell
annotate doorbelld/src/srv.h @ 3:73b16c2ae6bf
merge
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Mar 2016 07:56:26 +0200 |
parents | |
children | dc4018af3a40 |
rev | line source |
---|---|
nuclear@2 | 1 #ifndef SRV_H_ |
nuclear@2 | 2 #define SRV_H_ |
nuclear@2 | 3 |
nuclear@2 | 4 int srv_init(int port); |
nuclear@2 | 5 void srv_shutdown(void); |
nuclear@2 | 6 |
nuclear@2 | 7 int srv_num_sockets(void); |
nuclear@2 | 8 int *srv_sockets(void); |
nuclear@2 | 9 int srv_max_socket(void); |
nuclear@2 | 10 |
nuclear@2 | 11 int srv_handle(int s); |
nuclear@2 | 12 |
nuclear@2 | 13 void srv_send_frame(unsigned char *frame, int xsz, int ysz); |
nuclear@2 | 14 |
nuclear@2 | 15 #endif /* SRV_H_ */ |