ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
exec-utils.cc File Reference
#include <iostream>
#include <sstream>
#include <string.h>
#include <vector>
#include "exec-utils.h"
#include "utils.h"
#include "dce-manager.h"
#include "process.h"
#include "dce-unistd.h"
#include "errno.h"
+ Include dependency graph for exec-utils.cc:

Go to the source code of this file.

Classes

struct  ns3::ExeCriteria

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.

Functions

bool ns3::CanonizePath (std::string path, bool ChRootProtected, std::ostringstream &result)
 Utilities functions to help to find DCE binaries location to be executed using Virtuals and real PATHs.
bool ns3::CheckFileExe (std::string file, void *params)
std::string ns3::SearchAbsoluteFile (std::string file, std::string vroot, std::string altRoots, void *userData, bool(*checker)(std::string, void *))
std::string ns3::SearchExecFile (std::string file, std::string vpath, uid_t uid, gid_t gid, int *errNo)
std::string ns3::SearchExecFile (std::string file, uid_t uid, gid_t gid, int *errNo)
std::string ns3::SearchExecFile (std::string envVar, std::string file, int *errNo)
std::string ns3::SearchFile (std::string file, std::string vroot, std::string vpath, std::string dcepath, std::string cwd, std::string altRoots, void *userData, bool(*checker)(std::string, void *))
std::string ns3::SearchFile (std::string file, std::string vroot, std::string cwd, std::string altRoots, void *userData, bool(*checker)(std::string, void *))
std::string ns3::SearchRelativeFile (std::string file, std::string vroot, std::string cwd, void *userData, bool(*checker)(std::string, void *))
std::string ns3::SearchSimpleFile (std::string file, std::string vroot, std::string vpath, std::string cwd, std::string dcepath, void *userData, bool(*checker)(std::string, void *))