From 92b49a0fc6f24cbd970f8a9f79cf2513cd58a1b3 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 23 Nov 2013 16:19:08 +0100 Subject: libports: add `ports_lookup_payload' and `ports_payload_get_name' These two functions map payloads to objects and port names. The former can be used like `ports_lookup_port' to look up objects, the latter to map payloads to port names if the server function expects a `mach_port_t'. * libports/ports.h: Add function ports_payload_get_name. * libports/lookup-payload.c: New file. * libports/ports.h (ports_lookup_payload): Add declaration. * libports/Makefile (SRCS): Add lookup-payload.c. --- libports/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libports/Makefile') diff --git a/libports/Makefile b/libports/Makefile index 30da1c11..f49cb9fd 100644 --- a/libports/Makefile +++ b/libports/Makefile @@ -36,7 +36,7 @@ SRCS = create-bucket.c create-class.c \ interrupt-operation.c interrupt-on-notify.c interrupt-notified-rpcs.c \ dead-name.c create-port.c import-port.c default-uninhibitable-rpcs.c \ claim-right.c transfer-right.c create-port-noinstall.c create-internal.c \ - interrupted.c + interrupted.c extern-inline.c installhdrs = ports.h -- cgit v1.2.3