From 9bf5da82de7c19360c291d990814128a7b86c92e Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Sun, 23 Aug 2026 06:37:47 +0000 Subject: core: parser: Parse and emit define directives Signed-off-by: Chloe M. --- head/defconf/emit.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 head/defconf/emit.h (limited to 'head') diff --git a/head/defconf/emit.h b/head/defconf/emit.h new file mode 100644 index 0000000..a116074 --- /dev/null +++ b/head/defconf/emit.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2026, Apollo Telephone Laboratories. + * Provided under the BSD-3 clause. + */ + +#ifndef DEFCONF_EMIT_H +#define DEFCONF_EMIT_H 1 + +#include +#include +#include "defconf/data.h" + +/* + * Emit a data value + * + * @ident: Identifier of data value to emit + * @v: Value to emit + * + * Returns zero on success + */ +int emit_data(const char *ident, struct data_value *v); + +#endif /* !DEFCONF_EMIT_H */ -- cgit v1.2.3