Rudiments
environment.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_ENVIRONMENT_H
5#define RUDIMENTS_ENVIRONMENT_H
6
7#include <rudiments/private/environmentincludes.h>
8
11class RUDIMENTS_DLLSPEC environment {
12 public:
14 static const char *getValue(const char *variable);
15
21 static bool setValue(const char *variable,
22 const char *value);
23
25 static bool remove(const char *variable);
26
30 static const char * const *getVariables();
31
35 static bool clear();
36
40 static void setMutex(threadmutex *mtx);
41
42 #include <rudiments/private/environment.h>
43};
44
45#endif
Definition environment.h:11
static bool setValue(const char *variable, const char *value)
static const char * getValue(const char *variable)
static const char *const * getVariables()
static bool clear()
static void setMutex(threadmutex *mtx)
static bool remove(const char *variable)
Definition threadmutex.h:11