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.
40 lines
668 B
40 lines
668 B
#ifndef PEP_DBUS_ADAPTER_H
|
|
#define PEP_DBUS_ADAPTER_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include <config.h>
|
|
#endif
|
|
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <limits.h>
|
|
|
|
#include <iostream>
|
|
#include <vector>
|
|
|
|
#include <pEp/pEpEngine.h>
|
|
#include <pEp/message_cache.hh>
|
|
#include <pEp/mime.h>
|
|
|
|
#include "pep-server-glue.h"
|
|
|
|
namespace pEp {
|
|
class pEpDBusAdapter
|
|
: public security::pep_adaptor
|
|
{
|
|
public:
|
|
pEpDBusAdapter();
|
|
~pEpDBusAdapter();
|
|
|
|
// Message API
|
|
void decrypt_message(const std::string& src, int32_t& status, std::string& dst, std::vector< std::string >& keylist, int32_t& flags);
|
|
|
|
private:
|
|
PEP_SESSION mSession;
|
|
|
|
};
|
|
}
|
|
|
|
#endif
|