MythTV
master
|
#include <arpa/inet.h>
#include <algorithm>
#include <array>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <iostream>
#include <map>
#include <netinet/in.h>
#include <string>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "zmserver.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Variables | |
static constexpr uint16_t | PORT { 6548 } |
static constexpr const char * | ZM_CONFIG { "/etc/zm/zm.conf" } |
static constexpr const char * | ZM_OVERRIDECONFIG { "/etc/zm/conf.d/01-system-paths.conf" } |
enum EXIT_CODES : std::uint8_t |
Enumerator | |
---|---|
GENERIC_EXIT_OK | Exited with no error. |
GENERIC_EXIT_NOT_OK | Exited with error. |
GENERIC_EXIT_CMD_NOT_FOUND | Command not found. |
GENERIC_EXIT_NO_MYTHCONTEXT | No MythContext available. |
GENERIC_EXIT_NO_THEME | No Theme available. |
GENERIC_EXIT_INVALID_CMDLINE | Command line parse error. |
GENERIC_EXIT_DB_OUTOFDATE | Database needs upgrade. |
GENERIC_EXIT_DB_ERROR | Database error. |
GENERIC_EXIT_SOCKET_ERROR | Socket error. |
GENERIC_EXIT_PERMISSIONS_ERROR | File permissions error. |
GENERIC_EXIT_CONNECT_ERROR | Can't connect to master backend. |
GENERIC_EXIT_SETUP_ERROR | Incorrectly setup system. |
GENERIC_EXIT_INVALID_TIME | Invalid time. |
GENERIC_EXIT_KILLED | Process killed or stopped. |
GENERIC_EXIT_TIMEOUT | Process timed out. |
GENERIC_EXIT_RUNNING | Process is running. |
GENERIC_EXIT_PIPE_FAILURE | Error creating I/O pipes. |
GENERIC_EXIT_NO_HANDLER | No MythSystemLegacy Handler. |
GENERIC_EXIT_DAEMONIZING_ERROR | Error daemonizing or execl. |
GENERIC_EXIT_NO_RECORDING_DATA | No program/recording data. |
GENERIC_EXIT_REMOTE_FILE | Can't transcode a remote file. |
GENERIC_EXIT_RESTART | Need to restart transcoding. |
GENERIC_EXIT_WRITE_FRAME_ERROR | Frame write error. |
GENERIC_EXIT_DEADLOCK | Transcode deadlock detected. |
GENERIC_EXIT_IN_USE | Recording in use, can't flag. |
GENERIC_EXIT_START | MythSystemLegacy process starting. |
GENERIC_EXIT_DB_NOTIMEZONE | Missing DB time zone support. |
EXIT_OK | |
EXIT_INVALID_CMDLINE | |
EXIT_OPENING_LOGFILE_ERROR | |
EXIT_DAEMONIZING_ERROR | |
EXIT_SOCKET_ERROR | |
EXIT_VERSION_ERROR |
Definition at line 47 of file mythzmserver.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 56 of file mythzmserver.cpp.
|
staticconstexpr |
Definition at line 36 of file mythzmserver.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 39 of file mythzmserver.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 42 of file mythzmserver.cpp.
Referenced by main().