// This file is under GNU General Public License 3.0 // see LICENSE.txt #ifndef LIBPEPDATATYPES_TYPES_HH #define LIBPEPDATATYPES_TYPES_HH #include "wrapper.hh" #include #include #include #include namespace pEp { class EngineError : std::runtime_error { public: 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 Message = Wrapper<::message*>; } // end of namespace pEp #endif // LIBPEPDATATYPES_TYPES_HH