|
pianod2
multisource multiuser scriptable networked music player
|
User management provider. More...
#include <config.h>#include <cstdio>#include <cstring>#include <cstdlib>#include <cassert>#include <unistd.h>#include <sys/types.h>#include <string>#include <map>#include <vector>#include <iostream>#include <fstream>#include <football/fb_public.h>#include <parsnip/parsnip.h>#include <parsnip/parsnip_command.h>#include "interpreter.h"#include "enum.h"#include "fundamentals.h"#include "utility.h"#include "user.h"#include "users.h"#include "response.h"#include "logging.h"#include "fileio.h"#include "connection.h"
Namespaces | |
| userconfig | |
| Dictionary names for user data file. | |
Macros | |
| #define | countof(x) (sizeof (x) / sizeof (*x)) |
Typedefs | |
| typedef enum find_kind_t | FIND_KIND |
Enumerations | |
| enum | find_kind_t { FIND_OPEN_CONNECTIONS , FIND_ALL_CONNECTIONS } |
Functions | |
| static bool | datastoreIsListed (UserData::DataStore *data, User *owner, const User *requester) |
| Determine if a datastore's contents are eligible for reading by a user. More... | |
Variables | |
| const char * | userconfig::user_list = "users" |
| const char * | userconfig::shadow_user = "shadow" |
| static const char * | UserDataJSONFilename = "passwd.json" |
| UserManager * | user_manager |
User management provider.
| #define countof | ( | x | ) | (sizeof (x) / sizeof (*x)) |
| typedef enum find_kind_t FIND_KIND |
| enum find_kind_t |
|
static |
Determine if a datastore's contents are eligible for reading by a user.
| data | The datastore. |
| owner | The owner of the datastore. |
| requester | The user that wants to access the data. |


| UserManager* user_manager |
|
static |