From feb06e7a93af3642d23cad951e2eaf544025f64a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 28 Apr 2020 15:19:24 +0200 Subject: lib/xref: add xrefs for DEFUNs This allows grabbing a list of all DEFUNs and their help texts through the xref extraction mechanics. Signed-off-by: David Lamparter --- lib/xref.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/xref.h') diff --git a/lib/xref.h b/lib/xref.h index 9b5bcffc01..29c68820fd 100644 --- a/lib/xref.h +++ b/lib/xref.h @@ -29,6 +29,8 @@ enum xref_type { XREFT_THREADSCHED = 0x100, XREFT_LOGMSG = 0x200, + + XREFT_DEFUN = 0x300, }; /* struct xref is the "const" part; struct xrefdata is the writable part. */ -- cgit v1.2.3