#pragma once #include "hercules-store.hh" #include "hercules-logger.hh" #include "derivations.hh" // inline-c-cpp doesn't seem to handle namespace operator or template // syntax so we help it a bit for now. This definition can be inlined // when it is supported by inline-c-cpp. typedef nix::ref refStore; typedef nix::ref refHerculesStore; typedef nix::Logger::Fields LoggerFields; typedef HerculesLogger::LogEntry HerculesLoggerEntry; typedef std::queue> LogEntryQueue; typedef nix::Strings::iterator StringsIterator; typedef nix::DerivationOutputs::iterator DerivationOutputsIterator; typedef nix::DerivationInputs::iterator DerivationInputsIterator; typedef nix::StringPairs::iterator StringPairsIterator; using namespace std;