1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.
7 */
8
9#ifndef _SEEN_PROPERTIES_H
10#define _SEEN_PROPERTIES_H 1
11
12#include "utils.h"
13
14#define MEROPROPFILE ".merovingian_properties"
15#define PROFILERLOGPROPERTY "profilerlogpath"
16#define PROFILERBEATFREQ "profilerbeatfreq"
17
18confkeyval *getDefaultProps(void);
19int writeProps(confkeyval *ckv, const char *path);
20void writePropsBuf(confkeyval *ckv, char **buf);
21int readProps(confkeyval *ckv, const char *path);
22int readAllProps(confkeyval *ckv, const char *path);
23void readPropsBuf(confkeyval *ckv, char *buf);
24char *setProp(char *path, char *key, char *val);
25
26#endif
27
28/* vim:set ts=4 sw=4 noexpandtab: */
29