Move namespace "SignedPackage" into namespace "pEp"

master
heck 6 months ago
parent cda95c05bb
commit 9793bd720c
  1. 2
      src/unpack.cc
  2. 2
      src/unpack.hh
  3. 2
      test/test_unpack.cc

@ -21,6 +21,7 @@ static char *mkdtemp(char *template)
}
#endif
namespace pEp {
namespace SignedPackage {
static bool path_empty(std::string path)
{
@ -275,3 +276,4 @@ namespace SignedPackage {
std::filesystem::remove(pkg_path);
}
}
}

@ -8,6 +8,7 @@
#include <pEp/pEpEngine.h>
#include <pEp/downloadclient.hh>
namespace pEp {
namespace SignedPackage {
// locations maps installation location name to actual POSIX path
typedef std::map< std::string, std::string > locations;
@ -94,5 +95,6 @@ namespace SignedPackage {
locations loc = pEp_locations
);
}
}
#endif // SP_UNPACK

@ -3,6 +3,8 @@
#include <cryptopp/files.h>
#include <cryptopp/xed25519.h>
using namespace pEp;
void test_extract_archive()
{
std::cout << "\n*** test: extract_archive()\n\n";

Loading…
Cancel
Save