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.
26 lines
541 B
26 lines
541 B
// This file is under GNU General Public License 3.0
|
|
// see LICENSE.txt
|
|
|
|
#pragma once
|
|
|
|
#include "locked_queue.hh"
|
|
#include <thread>
|
|
#include <pEp/sync_api.h>
|
|
|
|
namespace pEp {
|
|
void throw_status(PEP_STATUS status);
|
|
|
|
namespace Adapter {
|
|
void startup(messageToSend_t messageToSend,
|
|
notifyHandshake_t notifyHandshake, void *obj = nullptr);
|
|
|
|
enum session_action {
|
|
init,
|
|
release
|
|
};
|
|
PEP_SESSION session(session_action action = init);
|
|
|
|
void shutdown();
|
|
}
|
|
}
|
|
|
|
|