diff options
author | Kay Sievers <kay@vrfy.org> | 2013-05-02 21:48:04 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-05-08 00:00:17 +0200 |
commit | 111fb9ed7d88e76942fe0f5c146333b1b1e6cbe2 (patch) | |
tree | b879202f0c4110991d26c1cd0e83b9ab7bb83043 /Makefile | |
parent | 1c1a20cd7f3f610762934dbbc602b0e8edf47da7 (diff) | |
download | kdbus-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-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ kdbus-y := \ bus.o \ connection.o \ + buffer.o \ ep.o \ main.o \ match.o \ |