MythTV  master
Macros | Functions | Variables
mythtv/programs/mythmediaserver/main.cpp File Reference
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <string>
#include <unistd.h>
#include <QCoreApplication>
#include <QString>
#include <QDir>
#include "mythconfig.h"
#include "mythsocketmanager.h"
#include "mythcontext.h"
#include "exitcodes.h"
#include "dbcheck.h"
#include "mythdbcon.h"
#include "loggingserver.h"
#include "mythlogging.h"
#include "mythversion.h"
#include "mythsystemevent.h"
#include "commandlineparser.h"
#include "signalhandling.h"
#include "cleanupguard.h"
#include "controlrequesthandler.h"
#include "requesthandler/basehandler.h"
#include "requesthandler/fileserverhandler.h"
#include "requesthandler/messagehandler.h"
Include dependency graph for mythtv/programs/mythmediaserver/main.cpp:

Go to the source code of this file.

Macros

#define ms_sd_notify(x)
 
#define LOC   QString("MythMediaServer: ")
 
#define LOC_WARN   QString("MythMediaServer, Warning: ")
 
#define LOC_ERR   QString("MythMediaServer, Error: ")
 

Functions

static void cleanup (void)
 
int main (int argc, char *argv[])
 

Variables

QString pidfile
 
QString logfile = ""
 

Macro Definition Documentation

◆ ms_sd_notify

#define ms_sd_notify (   x)

Definition at line 37 of file mythtv/programs/mythmediaserver/main.cpp.

◆ LOC

#define LOC   QString("MythMediaServer: ")

Definition at line 40 of file mythtv/programs/mythmediaserver/main.cpp.

◆ LOC_WARN

#define LOC_WARN   QString("MythMediaServer, Warning: ")

Definition at line 41 of file mythtv/programs/mythmediaserver/main.cpp.

◆ LOC_ERR

#define LOC_ERR   QString("MythMediaServer, Error: ")

Definition at line 42 of file mythtv/programs/mythmediaserver/main.cpp.

Function Documentation

◆ cleanup()

static void cleanup ( void  )
static

Definition at line 49 of file mythtv/programs/mythmediaserver/main.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 63 of file mythtv/programs/mythmediaserver/main.cpp.

Variable Documentation

◆ pidfile

QString pidfile

Definition at line 46 of file mythtv/programs/mythmediaserver/main.cpp.

Referenced by cleanup().

◆ logfile

QString logfile = ""

Definition at line 47 of file mythtv/programs/mythmediaserver/main.cpp.