From 02bec9a7652b981ee00c5656e9235ee0cc897f99 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 23 Nov 2020 02:00:58 +0100 Subject: libps: support getting RPC names for WAIT output * libps/Makefile (SRCS): Add ../utils/msgids.c. (../utils/msgids-CPPFLAGS): Add DATADIR macro. * libps/spec.c: Include "../utils/msgids.h". (get_rpc_name): Implement with msgid_info. * utils/msgids.c (parse_opt): Move end code to ... (msgids_scan_std): ... new function. * utils/msgids.h (msgids_scan_std): New prototype. * utils/ps.c (main): Call msgids_scan_std. --- utils/msgids.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/msgids.h') diff --git a/utils/msgids.h b/utils/msgids.h index 9d81bb33..546321eb 100644 --- a/utils/msgids.h +++ b/utils/msgids.h @@ -27,6 +27,7 @@ struct msgid_info char *subsystem; }; +error_t msgids_scan_std (void); const struct msgid_info *msgid_info (mach_msg_id_t msgid); extern const struct argp msgid_argp; -- cgit v1.2.3