aboutsummaryrefslogtreecommitdiffstats
path: root/libselinux/src/label_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libselinux/src/label_internal.h')
-rw-r--r--libselinux/src/label_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libselinux/src/label_internal.h b/libselinux/src/label_internal.h
index ef6ad260..0e582b62 100644
--- a/libselinux/src/label_internal.h
+++ b/libselinux/src/label_internal.h
@@ -102,4 +102,10 @@ compat_validate(struct selabel_handle *rec,
struct selabel_lookup_rec *contexts,
const char *path, unsigned lineno) hidden;
+/*
+ * The read_spec_entries function may be used to
+ * replace sscanf to read entries from spec files.
+ */
+extern int read_spec_entries(char *line_buf, int num_args, ...);
+
#endif /* _SELABEL_INTERNAL_H_ */