diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-05-15 19:45:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-05-15 19:45:45 +0200 |
commit | 453a0c2946da620f99825d39db335e9ea9861829 (patch) | |
tree | cb994a26bf2b84d0c6090e88d8ccb113aeef37e6 /src/systemd/sd-memfd.h | |
parent | 99271804172f6ac51be9556b2bdf37d6a7e952bc (diff) |
bus: add support for adding memfds into message payload
Diffstat (limited to 'src/systemd/sd-memfd.h')
-rw-r--r-- | src/systemd/sd-memfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-memfd.h b/src/systemd/sd-memfd.h index 8594a3b61f..ee140e48d3 100644 --- a/src/systemd/sd-memfd.h +++ b/src/systemd/sd-memfd.h @@ -35,6 +35,8 @@ typedef struct sd_memfd sd_memfd; int sd_memfd_new(sd_memfd **m); int sd_memfd_make(int fd, sd_memfd **m); +int sd_memfd_new_and_map(sd_memfd **m, size_t sz, void **p); + void sd_memfd_free(sd_memfd *m); int sd_memfd_get_fd(sd_memfd *m); |