Paul Zinselmeyer
ba8e969470
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 10s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
40 lines
510 B
C++
40 lines
510 B
C++
#include <iostream>
|
|
#include <unistd.h>
|
|
|
|
#include "LogBase.h"
|
|
|
|
using namespace util;
|
|
|
|
#include "MessageHandler.h"
|
|
|
|
int Main(int argc, char* argv[]) {
|
|
LogBase::Inst();
|
|
|
|
int ret = 0;
|
|
|
|
MessageHandler msg;
|
|
msg.init();
|
|
msg.start();
|
|
|
|
return ret;
|
|
}
|
|
|
|
|
|
int main( int argc, char **argv ) {
|
|
try {
|
|
return Main(argc, argv);
|
|
} catch (std::exception& e) {
|
|
Log("exception: %s", e.what());
|
|
} catch (...) {
|
|
Log("unexpected exception") ;
|
|
}
|
|
|
|
return -1;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|