23 #ifndef IDOBBYSTARTSTATE_H
24 #define IDOBBYSTARTSTATE_H
29 #include <sys/mount.h>
99 virtual bool addMount(
const std::string& source,
100 const std::string& target,
101 const std::string& fsType,
102 unsigned long mountFlags = 0,
103 const std::list<std::string>& mountOptions = std::list<std::string>()) = 0;
111 virtual std::list<int>
files()
const = 0;
121 virtual std::list<int>
files(
const std::string& pluginName)
const = 0;
Utility interface passed in at the post-construction phase, to allow some final tweaking of the conta...
Definition: IDobbyStartState.h:40
virtual std::list< int > files(const std::string &pluginName) const =0
Gets all file descriptor registered by concrete client.
virtual std::list< int > files() const =0
Gets all file descriptor registered by any client.
virtual bool addEnvironmentVariable(const std::string &envVar)=0
Adds an environment variable to the container.
virtual int addFileDescriptor(const std::string &pluginName, int fd)=0
Adds another file descriptor to be passed into the container.
virtual bool addMount(const std::string &source, const std::string &target, const std::string &fsType, unsigned long mountFlags=0, const std::list< std::string > &mountOptions=std::list< std::string >())=0
Adds a new mount to the container.