]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/replace-var.h
807ef9cac00708f8dc25ca1b645e8304b843b9b6
[thirdparty/systemd.git] / src / basic / replace-var.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2012 Lennart Poettering
8 ***/
9
10 char *replace_var(const char *text, char *(*lookup)(const char *variable, void *userdata), void *userdata);