aboutsummaryrefslogtreecommitdiffstats
path: root/libsbus.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-21 18:21:04 +0200
committerMattias Andrée <maandree@kth.se>2017-10-21 18:21:04 +0200
commita2e9ee2101d2f45dfd5ac180d669134cbb96a52a (patch)
tree48ab16a78d6995c7a9a739df5cf3b39838984200 /libsbus.h
parentlibsbus_receive: add flags (diff)
downloadsbus-a2e9ee2101d2f45dfd5ac180d669134cbb96a52a.tar.gz
sbus-a2e9ee2101d2f45dfd5ac180d669134cbb96a52a.tar.bz2
sbus-a2e9ee2101d2f45dfd5ac180d669134cbb96a52a.tar.xz
Add flags to functions using send
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsbus.h')
-rw-r--r--libsbus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsbus.h b/libsbus.h
index 4f2dc4a..8d8cad3 100644
--- a/libsbus.h
+++ b/libsbus.h
@@ -29,9 +29,9 @@ union libsbus_packet {
struct libsbus_message message;
};
-int libsbus_subscribe(int fd, const char *pattern, char *buf);
-int libsbus_unsubscribe(int fd, const char *pattern, char *buf);
-int libsbus_publish(int fd, const char *key, const char *msg, size_t n, char *buf);
+int libsbus_subscribe(int fd, const char *pattern, int flags, char *buf);
+int libsbus_unsubscribe(int fd, const char *pattern, int flags, char *buf);
+int libsbus_publish(int fd, const char *key, const char *msg, size_t n, int flags, char *buf);
ssize_t libsbuf_prepare_message(const char *key, char *buf, size_t *remaining);
int libsbus_receive(int fd, int flags, char *buf, union libsbus_packet *packet);