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..f3dae15
--- /dev/null
+++ b/src/core/unit-printf.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include "unit.h"
+
+int unit_name_printf(Unit *u, const char* text, char **ret);
+int unit_full_printf(Unit *u, const char *text, char **ret);