[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 43/64: libcons: add a payload-aware intrans function
From: |
Samuel Thibault |
Subject: |
[hurd] 43/64: libcons: add a payload-aware intrans function |
Date: |
Wed, 10 Dec 2014 15:17:07 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit d3bbc5f4309b85e36e260e9c0ece006b131db3f5
Author: Justus Winter <address@hidden>
Date: Thu Nov 28 14:12:25 2013 +0100
libcons: add a payload-aware intrans function
* libcons/mutations.h: Add mutator.
* libcons/priv.h (begin_using_notify_payload): New function.
---
libcons/mutations.h | 1 +
libcons/priv.h | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/libcons/mutations.h b/libcons/mutations.h
index c895447..4751340 100644
--- a/libcons/mutations.h
+++ b/libcons/mutations.h
@@ -21,6 +21,7 @@
/* Only CPP macro definitions should go in this file. */
#define FS_NOTIFY_INTRAN cons_notify_t begin_using_notify_port (fs_notify_t)
+#define FS_NOTIFY_INTRAN_PAYLOAD cons_notify_t begin_using_notify_payload
#define FS_NOTIFY_DESTRUCTOR end_using_notify_port (cons_notify_t)
#define FS_NOTIFY_IMPORTS import "priv.h";
diff --git a/libcons/priv.h b/libcons/priv.h
index 38971ff..6cdf3db 100644
--- a/libcons/priv.h
+++ b/libcons/priv.h
@@ -80,6 +80,12 @@ begin_using_notify_port (fs_notify_t port)
return ports_lookup_port (cons_port_bucket, port, cons_port_class);
}
+static inline cons_notify_t
+begin_using_notify_payload (unsigned long payload)
+{
+ return ports_lookup_payload (cons_port_bucket, payload, cons_port_class);
+}
+
/* Called by MiG after server routines have been run; this balances
begin_using_notify_port, and is arranged for the fs_notify
interfaces by mutations.h. */
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 29/64: boot: improve the demuxer, (continued)
- [hurd] 29/64: boot: improve the demuxer, Samuel Thibault, 2014/12/10
- [hurd] 14/64: procfs: do not hard-code the default argument values, Samuel Thibault, 2014/12/10
- [hurd] 32/64: Fix proc crashes, Samuel Thibault, 2014/12/10
- [hurd] 13/64: Add proc_set_init_task, make runsystem pid 1, Samuel Thibault, 2014/12/10
- [hurd] 40/64: libnetfs: add a payload-aware intrans function, Samuel Thibault, 2014/12/10
- [hurd] 21/64: Makeconf: handle the gnumach protocol, Samuel Thibault, 2014/12/10
- [hurd] 39/64: libdiskfs: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 18/64: startup: be more specific in the shutdown message, Samuel Thibault, 2014/12/10
- [hurd] 42/64: libpager: add a payload-aware intrans function, Samuel Thibault, 2014/12/10
- [hurd] 19/64: startup: fix the declaration of the *_server functions, Samuel Thibault, 2014/12/10
- [hurd] 43/64: libcons: add a payload-aware intrans function,
Samuel Thibault <=
- [hurd] 46/64: console-client: make the demuxer payload-aware, Samuel Thibault, 2014/12/10
- [hurd] 41/64: libtrivfs: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 20/64: startup: bind the startup server to /servers/startup, Samuel Thibault, 2014/12/10
- [hurd] 28/64: boot: implement pseudo-time device, Samuel Thibault, 2014/12/10
- [hurd] 47/64: exec: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 49/64: pfinet: make the demuxers payload-aware, Samuel Thibault, 2014/12/10
- [hurd] 50/64: pflocal: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 48/64: pfinet: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 51/64: proc: add payload-aware intrans functions, Samuel Thibault, 2014/12/10
- [hurd] 24/64: boot: drop bootstrap compat code, Samuel Thibault, 2014/12/10