summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-05-02 21:48:04 +0200
committerKay Sievers <kay@vrfy.org>2013-05-08 00:00:17 +0200
commit111fb9ed7d88e76942fe0f5c146333b1b1e6cbe2 (patch)
treeb879202f0c4110991d26c1cd0e83b9ab7bb83043 /Makefile
parent1c1a20cd7f3f610762934dbbc602b0e8edf47da7 (diff)
downloadkdbus-bus-111fb9ed7d88e76942fe0f5c146333b1b1e6cbe2.tar.gz
kdbus-bus-111fb9ed7d88e76942fe0f5c146333b1b1e6cbe2.tar.bz2
kdbus-bus-111fb9ed7d88e76942fe0f5c146333b1b1e6cbe2.zip
copy messages directly from sender into a receiver-supplied buffer
Require the receiver to pre-allocate a buffer and register it with HELLO. The sender will copy its data directly into the revceiver's buffer. The RECV call will now only return a pointer to the next message in the buffer. The buffer needs to be free()d with the FREE ioctl. FIXME: currently missing is a proper allocator to manage the receiver's buffer, in the current state the allocator will only clear the buffer if all messages are free()d. This is obviously only useful for testing.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c522067ab01..28ea15118f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
kdbus-y := \
bus.o \
connection.o \
+ buffer.o \
ep.o \
main.o \
match.o \