[Ltrace-devel] [PATCH 6/6] Document import directives

Роман Донченко dpb at corrigendum.ru
Mon Apr 20 00:39:27 UTC 2015


---
 ltrace.conf.5 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/ltrace.conf.5 b/ltrace.conf.5
index 1efd4fc..a0579dc 100644
--- a/ltrace.conf.5
+++ b/ltrace.conf.5
@@ -222,6 +222,20 @@ such type, and later just use that name:
 \fBtypedef \fINAME\fB = \fILENS\fB;\fR
 .RE
 
+.SH IMPORT DIRECTIVES
+
+It's possible for config files to import definitions from other config
+files.  A line of the form:
+
+.RS
+\fBimport "\fIFILENAME\fB";\fR
+.RE
+
+will make all definitions from \fIFILENAME\fR.conf available in the current
+file.  The imported file is searched for in the same directories as when
+looking up a config file corresponding to a library; see \fBltrace(1)\fR
+for details.
+
 .SH RECURSIVE STRUCTURES
 
 Ltrace allows you to express recursive structures.  Such structures
-- 
1.8.5.6




More information about the Ltrace-devel mailing list