-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsocket.h
More file actions
36 lines (23 loc) · 859 Bytes
/
socket.h
File metadata and controls
36 lines (23 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// socket.h remote command related functions
//
// created 2015/09/02 by Lauri Kasanen
// updated 2015/09/02 by Lauri Kasanen
//
// Unless a valid Cliquesoft Private License (CPLv1) has been purchased for your
// device, this software is licensed under the Cliquesoft Public License (CPLv2)
// as found on the Cliquesoft website at www.cliquesoft.org.
//
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the appropriate Cliquesoft License for details.
#if CONTROL_SOCK
#ifndef SOCKET_H
#define SOCKET_H
#include <FL/Fl.H>
void initSockets(const char path[]);
// Callbacks
void accepter(FL_SOCKET fd, void *);
void disconnecter(FL_SOCKET fd, void *);
void commander(FL_SOCKET fd, void *);
#endif
#endif