syslog-ng source
reloc.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002-2013 Balabit
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  * As an additional exemption you are allowed to compile & link against the
19  * OpenSSL libraries as published by the OpenSSL project. See the file
20  * COPYING for details.
21  *
22  */
23 
24 #ifndef RELOC_H_INCLUDED
25 #define RELOC_H_INCLUDED
26 
27 #include "syslog-ng.h"
28 #include "cache.h"
29 
30 void path_resolver_add_configure_variable(CacheResolver *self, const gchar *name, const gchar *value);
31 CacheResolver *path_resolver_new(const gchar *sysprefix);
32 
33 gchar *resolve_path_variables_in_text(const gchar *text);
34 const gchar *get_installation_path_for(const gchar *template);
35 void override_installation_path_for(const gchar *template, const gchar *value);
36 void reloc_init(void);
37 void reloc_deinit(void);
38 
39 #endif
const gchar * name
Definition: debugger.c:265
void override_installation_path_for(const gchar *template, const gchar *value)
Definition: reloc.c:188
void reloc_init(void)
Definition: reloc.c:195
void path_resolver_add_configure_variable(CacheResolver *self, const gchar *name, const gchar *value)
Definition: reloc.c:40
gchar * resolve_path_variables_in_text(const gchar *text)
Definition: reloc.c:180
CacheResolver * path_resolver_new(const gchar *sysprefix)
Definition: reloc.c:147
const gchar * get_installation_path_for(const gchar *template)
Definition: reloc.c:173
void reloc_deinit(void)
Definition: reloc.c:202
GString * value
Definition: test_decode.c:28