chiark / gitweb /
Install serialmgr and run_sympathy in examples directory (uncompressed)
[sympathy.git] / src / symsocket.h
1 /* 
2  * symsocket.h:
3  *
4  * Copyright (c) 2008 James McKenzie <sympathy@madingley.org>,
5  * All rights reserved.
6  *
7  */
8
9 /* 
10  * $Id: symsocket.h,v 1.6 2008/03/10 11:49:33 james Exp $
11  */
12
13 /* 
14  * $Log: symsocket.h,v $
15  * Revision 1.6  2008/03/10 11:49:33  james
16  * *** empty log message ***
17  *
18  * Revision 1.5  2008/03/07 12:37:04  james
19  * *** empty log message ***
20  *
21  * Revision 1.4  2008/03/03 06:04:42  james
22  * *** empty log message ***
23  *
24  * Revision 1.3  2008/03/02 10:37:56  james
25  * *** empty log message ***
26  *
27  * Revision 1.2  2008/02/20 18:31:53  james
28  * *** empty log message ***
29  *
30  * Revision 1.1  2008/02/13 18:05:06  james
31  * *** empty log message ***
32  *
33  */
34
35 #ifndef __SYMSOCKET_H__
36 #define __SYMSOCKET_H__
37
38 typedef struct {
39   int fd;
40
41   Slide *read_buf;
42   Slide *write_buf;
43
44   IPC_Msg *msg;
45
46   char *path_to_unlink;
47
48 } Socket;
49
50 #define SOCKET_IS_LISTENER(s) (!((s)->read_buf))
51
52 #endif /* __SYMSOCKET_H__ */