summaryrefslogtreecommitdiffstats
path: root/src/core/unit-printf.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/unit-printf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/unit-printf.h b/src/core/unit-printf.h
new file mode 100644
index 0000000..de5183c
--- /dev/null
+++ b/src/core/unit-printf.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include "unit.h"
+
+int unit_name_printf(const Unit *u, const char* text, char **ret);
+int unit_full_printf(const Unit *u, const char *text, char **ret);