|
MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
Contains all code for the controller executable. More...
#include <stdio.h>#include <iostream>#include <ctime>#include <vector>#include <sys/stat.h>#include <mist/config.h>#include <mist/socket.h>#include <mist/http_parser.h>#include <mist/procs.h>#include <mist/auth.h>#include <mist/timing.h>#include <mist/stream.h>#include <mist/defines.h>#include <mist/tinythread.h>#include <mist/shared_memory.h>#include "controller_storage.h"#include "controller_streams.h"#include "controller_capabilities.h"#include "controller_connectors.h"#include "controller_statistics.h"#include <mist/triggers.h>#include "controller_updater.h"#include "controller_limits.h"#include "controller_uplink.h"#include "controller_api.h"Macros | |
| #define | COMPILED_PASSWORD "" |
| #define | COMPILED_USERNAME "" |
Functions | |
| void | createAccount (std::string account) |
| createAccount accepts a string in the form of username:account and creates an account. More... | |
| int | main (int argc, char **argv) |
| The main entry point for the controller. More... | |
| void | statusMonitor (void *np) |
| Status monitoring thread. More... | |
| static char | yna (std::string &user_input) |
| the following function is a simple check if the user wants to proceed to fix (y), ignore (n) or abort on (a) a question More... | |
Contains all code for the controller executable.
| #define COMPILED_PASSWORD "" |
| #define COMPILED_USERNAME "" |
| void createAccount | ( | std::string | account | ) |
createAccount accepts a string in the form of username:account and creates an account.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
The main entry point for the controller.
"SYSTEM_STOP" trigger is global, and is ran when the controller shuts down. If cancelled, the controller does not shut down and will attempt to re-open the API socket. Its payload is: | void statusMonitor | ( | void * | np | ) |
Status monitoring thread.
Will check outputs, inputs and converters every five seconds
|
inlinestatic |
the following function is a simple check if the user wants to proceed to fix (y), ignore (n) or abort on (a) a question
1.8.11