A C++ wrapper for the basic C datatypes defined by the pEpEngine.
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.

33 lines
842 B

// This file is under GNU General Public License 3.0
// see LICENSE.txt
#include "wrapper.hh"
#include <stdexcept>
#include <pEp/pEpEngine.h>
#include <pEp/stringpair.h>
#include <pEp/message.h>
namespace pEp
class EngineError : std::runtime_error
EngineError(PEP_STATUS status, const char* message = nullptr);
using Identity = Wrapper<::pEp_identity*>;
using StringPair = Wrapper<::stringpair_t*>;
using StringPairList = ListWrapper<::stringpair_list_t*, ::stringpair_t*>;
using StringList = ListWrapper<::stringlist_t*, const char*>;
using BlobList = ListWrapper<::bloblist_t*, ::bloblist_t*>;
using Message = Wrapper<::message*>;
} // end of namespace pEp