blob: 34961d0a98f4bcf22473d007a33fcecfac78a6ea (
plain)
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
36
37
38
39
40
41
|
/*
* symsocket.h:
*
* Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
* All rights reserved.
*
*/
/*
* $Id$
*/
/*
* $Log$
* Revision 1.2 2008/02/20 18:31:53 james
* *** empty log message ***
*
* Revision 1.1 2008/02/13 18:05:06 james
* *** empty log message ***
*
*/
#ifndef __SYMSOCKET_H__
#define __SYMSOCKET_H__
typedef struct
{
int fd;
Slide *read_buf;
Slide *write_buf;
IPC_Msg *msg;
char *path_to_unlink;
} Socket;
#define SOCKET_IS_LISTENER(s) (!((s)->read_buf))
#endif /* __SYMSOCKET_H__ */
|