blob: 51640e0e7a9ed48b68a472b6c1b0f013c1c00cb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* blogc: A blog compiler.
* Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
*
* This program can be distributed under the terms of the BSD License.
* See the file LICENSE.
*/
#ifndef ___SYSINFO_H
#define ___SYSINFO_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#ifdef HAVE_UNISTD_H
#define HAVE_SYSINFO_HOSTNAME 1
#endif /* HAVE_UNISTD_H */
#include "../common/utils.h"
char* blogc_sysinfo_get_hostname(void);
void blogc_sysinfo_inject_hostname(bc_trie_t *global);
#endif /* ___SYSINFO_H */
|