+++ /dev/null
-/*\r
-\r
- silcsymbiansocketstream.h\r
-\r
- Author: Pekka Riikonen <priikone@silcnet.org>\r
-\r
- Copyright (C) 2006 Pekka Riikonen\r
-\r
- This program is free software; you can redistribute it and/or modify\r
- it under the terms of the GNU General Public License as published by\r
- the Free Software Foundation; version 2 of the License.\r
-\r
- This program is distributed in the hope that it will be useful,\r
- but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- GNU General Public License for more details.\r
-\r
-*/\r
-\r
-#ifndef SILCSYMBIANSOCKETSTREAM_H\r
-#define SILCSYMBIANSOCKETSTREAM_H\r
-\r
-#include <e32std.h>\r
-#include <es_sock.h>\r
-#include <in_sock.h>\r
-\r
-class SilcSymbianSocketSend;\r
-class SilcSymbianSocketReceive;\r
-\r
-/* Symbian Socket context */\r
-typedef struct {\r
- SilcSymbianSocketSend *send;\r
- SilcSymbianSocketReceive *receive;\r
- RSocket *sock;\r
- RSocketServ *ss;\r
- SilcSocketStream stream;\r
- unsigned int eof : 1;\r
- unsigned int error : 1;\r
- unsigned int would_block : 1;\r
-} SilcSymbianSocket;\r
-\r
-/* Creates symbian socket context. This will steal the `sock' and `ss'. */\r
-SilcSymbianSocket *silc_create_symbian_socket(RSocket *sock,\r
- RSocketServ *ss);\r
-\r
-#endif /* SILCSYMBIANSOCKETSTREAM_H */\r