DBus interface in order to connect DBus applications to the p≡p engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
472 B

#include "pep-server.h"
#include "dbus-c++/error.h"
#include <signal.h>
static const char *ASYNC_SERVER_NAME = "security.pep";
DBus::BusDispatcher dispatcher;
void niam(int sig)
int main()
signal(SIGTERM, niam);
signal(SIGINT, niam);
DBus::default_dispatcher = &dispatcher;
DBus::Connection conn = DBus::Connection::SessionBus();
pEp::Server server(conn);
return 0;