#define MISC_H_
#include <list>
+#include <map>
#include <string>
-#include <msp/path/path.h>
+#include <msp/fs/path.h>
-typedef std::list<Msp::Path::Path> PathList;
+enum LibMode
+{
+ ALL_STATIC,
+ LOCAL_STATIC,
+ DYNAMIC
+};
-std::string run_command(const std::list<std::string> &);
+typedef std::list<std::string> StringList;
+typedef std::list<Msp::FS::Path> PathList;
+typedef std::map<std::string, std::string> StringMap;
+
+/** Runs a command and returns its output as a string. The exit status of the
+command is returned in the second parameter if it is not null. */
+std::string run_command(const StringList &, int * =0);
#endif