mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
New feature POSIX message queues (MQ)
This commit is contained in:
parent
e1aadc577d
commit
7d6295114b
21 changed files with 876 additions and 14 deletions
20
xio-posixmq.h
Normal file
20
xio-posixmq.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/* Source: xio-posixmq.h */
|
||||
/* Copyright Gerhard Rieger and contributors (see file CHANGES) */
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
#ifndef __xio_posixmq_h_included
|
||||
#define __xio_posixmq_h_included 1
|
||||
|
||||
extern const struct addrdesc xioaddr_posixmq_bidir;
|
||||
extern const struct addrdesc xioaddr_posixmq_read;
|
||||
extern const struct addrdesc xioaddr_posixmq_receive;
|
||||
extern const struct addrdesc xioaddr_posixmq_send;
|
||||
|
||||
extern const struct optdesc opt_posixmq_priority;
|
||||
|
||||
extern ssize_t xioread_posixmq(struct single *file, void *buff, size_t bufsiz);
|
||||
extern ssize_t xiopending_posixmq(struct single *pipe);
|
||||
extern ssize_t xiowrite_posixmq(struct single *file, const void *buff, size_t bufsiz);
|
||||
extern ssize_t xioclose_posixmq(struct single *sfd);
|
||||
|
||||
#endif /* !defined(__xio_posixmq_h_included) */
|
Loading…
Add table
Add a link
Reference in a new issue