MythTV  master
Macros | Functions | Variables
mythmediaserver.cpp File Reference
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <string>
#include <unistd.h>
#include <QCoreApplication>
#include <QDir>
#include <QString>
#include "libmyth/mythcontext.h"
#include "libmythbase/cleanupguard.h"
#include "libmythbase/exitcodes.h"
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythdbcon.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/signalhandling.h"
#include "libmythprotoserver/mythsocketmanager.h"
#include "libmythprotoserver/requesthandler/basehandler.h"
#include "libmythprotoserver/requesthandler/fileserverhandler.h"
#include "libmythprotoserver/requesthandler/messagehandler.h"
#include "libmythtv/dbcheck.h"
#include "libmythtv/mythsystemevent.h"
#include "controlrequesthandler.h"
#include "mythmediaserver_commandlineparser.h"
Include dependency graph for mythmediaserver.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 41 of file mythmediaserver.cpp.

◆ LOC

#define LOC   QString("MythMediaServer: ")

Definition at line 44 of file mythmediaserver.cpp.

◆ LOC_WARN

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

Definition at line 45 of file mythmediaserver.cpp.

◆ LOC_ERR

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

Definition at line 46 of file mythmediaserver.cpp.

Function Documentation

◆ cleanup()

static void cleanup ( void  )
static

Definition at line 51 of file mythmediaserver.cpp.

Referenced by main().

◆ main()

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

Definition at line 65 of file mythmediaserver.cpp.

Variable Documentation

◆ pidfile

QString pidfile

Definition at line 48 of file mythmediaserver.cpp.

Referenced by cleanup().

◆ logfile

QString logfile = ""

Definition at line 49 of file mythmediaserver.cpp.