gxPL  1.0
Tools, Application and Framework for xPL
io.h
1 
9 #ifndef _GXPL_IO_HEADER_
10 #define _GXPL_IO_HEADER_
11 
12 #include <stdarg.h>
13 #include <gxPL/defs.h>
14 __BEGIN_C_DECLS
15 /* ========================================================================== */
16 #if !defined(GXPL_INTERNALS) && !defined(__DOXYGEN__)
17 #warning You should not add the header file gxPL/io.h in your source code
18 #endif
19 
34 /* internal public functions ================================================ */
41 gxPLIo * gxPLIoOpen (gxPLSetting * setting);
42 
54 int gxPLIoRecv (gxPLIo * io, void * buffer, int count, gxPLIoAddr * source);
55 
67 int gxPLIoSend (gxPLIo * io, const void * buffer, int count, const gxPLIoAddr * target);
68 
74 int gxPLIoClose (gxPLIo * io);
75 
84 int gxPLIoIoCtl (gxPLIo * io, int c, va_list ap);
85 
91 /* ========================================================================== */
92 __END_C_DECLS
93 #endif /* _GXPL_IO_HEADER_ defined */
int gxPLIoRecv(gxPLIo *io, void *buffer, int count, gxPLIoAddr *source)
Receive a message from the network.
gxPLIo * gxPLIoOpen(gxPLSetting *setting)
Opening of the input-output layer.
int gxPLIoIoCtl(gxPLIo *io, int c, va_list ap)
device-specific input/output operations
Describe a gxPLApplication configuration.
Definition: defs.h:238
int gxPLIoClose(gxPLIo *io)
Close the input-output layer.
Describe a network address.
Definition: defs.h:263
int gxPLIoSend(gxPLIo *io, const void *buffer, int count, const gxPLIoAddr *target)
Send a message to the network.