summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/src/compat.h
blob: 32fce459728acdf42ad8101e4b9a1c2960d92a89 (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
26
/**
 * @file compat.h
 * prototypes for compat_xxx.c
 *
 * @author  Ben Gardner
 * @license GPL v2+
 */
#ifndef COMPAT_H_INCLUDED
#define COMPAT_H_INCLUDED

#include "uncrustify_types.h"


bool unc_getenv(const char *name, std::string &str);


bool unc_homedir(std::string &home);


/*
 * even if we prefer the format %zu, we have to change to %lu
 * to be runable under Windows
 */
void convert_log_zu2lu(char *buf);

#endif /* COMPAT_H_INCLUDED */