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
11 class 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 *variables();
31
35 static bool clear();
36
40 static void setMutex(threadmutex *mtx);
41
42 #include <rudiments/private/environment.h>
43 };
44
45 #endif
environment
Definition: environment.h:11
environment::setValue
static bool setValue(const char *variable, const char *value)
environment::getValue
static const char * getValue(const char *variable)
environment::clear
static bool clear()
environment::variables
static const char *const * variables()
environment::setMutex
static void setMutex(threadmutex *mtx)
environment::remove
static bool remove(const char *variable)
threadmutex
Definition: threadmutex.h:11