diff options
author | james <> | 2008-02-13 18:05:06 +0000 |
---|---|---|
committer | james <> | 2008-02-13 18:05:06 +0000 |
commit | 7b7996c7bb4bd66f6262f4e721b6960d6b58b801 (patch) | |
tree | 9f5e12b05faf7fb66de0d20c05c0db4b804bb8b2 /src/symsocket.h | |
parent | 9644f7cf7d6949303984a058b9b3694c92ac9be5 (diff) | |
download | sympathy-7b7996c7bb4bd66f6262f4e721b6960d6b58b801.tar.gz sympathy-7b7996c7bb4bd66f6262f4e721b6960d6b58b801.tar.bz2 sympathy-7b7996c7bb4bd66f6262f4e721b6960d6b58b801.zip |
*** empty log message ***
Diffstat (limited to 'src/symsocket.h')
-rw-r--r-- | src/symsocket.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/symsocket.h b/src/symsocket.h new file mode 100644 index 0000000..3996816 --- /dev/null +++ b/src/symsocket.h @@ -0,0 +1,36 @@ +/* + * symsocket.h: + * + * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>, + * All rights reserved. + * + */ + +/* + * $Id$ + */ + +/* + * $Log$ + * 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; + +} Socket; + +#define SOCKET_IS_LISTENER(s) (!((s)->read_buf)) + +#endif /* __SYMSOCKET_H__ */ |