|
xsecurelock
1.7.0
XSecureLock is an X11 screen lock utility.
|
#include "env_settings.h"#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "logging.h"Functions | |
| unsigned long long | GetUnsignedLongLongSetting (const char *name, unsigned long long def) |
| Loads an integer setting from the environment. More... | |
| long | GetLongSetting (const char *name, long def) |
| Loads an integer setting from the environment. More... | |
| int | GetIntSetting (const char *name, int def) |
| Loads an integer setting from the environment. More... | |
| double | GetDoubleSetting (const char *name, double def) |
| Loads a floating-point setting from the environment. More... | |
| const char * | GetStringSetting (const char *name, const char *def) |
| Loads a setting from the environment. More... | |
| const char * | GetExecutablePathSetting (const char *name, const char *def, int is_auth) |
| Loads a setting from the environment that specifies a binary name. More... | |
| double GetDoubleSetting | ( | const char * | name, |
| double | def | ||
| ) |
Loads a floating-point setting from the environment.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
| const char* GetExecutablePathSetting | ( | const char * | name, |
| const char * | def, | ||
| int | is_auth | ||
| ) |
Loads a setting from the environment that specifies a binary name.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
| is_auth | If the path should be an auth child. |
| int GetIntSetting | ( | const char * | name, |
| int | def | ||
| ) |
Loads an integer setting from the environment.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
| long GetLongSetting | ( | const char * | name, |
| long | def | ||
| ) |
Loads an integer setting from the environment.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
| const char* GetStringSetting | ( | const char * | name, |
| const char * | def | ||
| ) |
Loads a setting from the environment.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
| unsigned long long GetUnsignedLongLongSetting | ( | const char * | name, |
| unsigned long long | def | ||
| ) |
Loads an integer setting from the environment.
| name | The setting to read (with XSECURELOCK_ variable name prefix). |
| def | The default value. |
1.8.14