ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-env.cc File Reference
#include "dce-stdlib.h"
#include "utils.h"
#include "process.h"
#include "ns3/log.h"
#include "ns3/assert.h"
#include <string.h>
+ Include dependency graph for dce-env.cc:

Go to the source code of this file.

Functions

char * dce__secure_getenv (const char *name)
int dce_clearenv (void)
char * dce_getenv (const char *name)
int dce_putenv (char *string)
int dce_setenv (const char *name, const char *value, int overwrite)
int dce_unsetenv (const char *name)
 NS_LOG_COMPONENT_DEFINE ("SimuEnv")

Function Documentation

char* dce__secure_getenv ( const char *  name)

Definition at line 24 of file dce-env.cc.

References dce_getenv().

+ Here is the call graph for this function:

int dce_clearenv ( void  )

Definition at line 139 of file dce-env.cc.

References ns3::Process::allocated, ns3::Current(), ns3::Process::penvp, ns3::Thread::process, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

char* dce_getenv ( const char *  name)

Definition at line 12 of file dce-env.cc.

References ns3::Current(), ns3::Process::penvp, ns3::Thread::process, ns3::seek_env(), and ns3::UtilsGetNodeId().

Referenced by dce__secure_getenv(), and ns3::LinuxSocketFdFactory::Getenv().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dce_putenv ( char *  string)

Definition at line 30 of file dce-env.cc.

References ns3::Process::allocated, ns3::Current(), dce_unsetenv(), ns3::Process::penvp, ns3::Thread::process, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_setenv ( const char *  name,
const char *  value,
int  overwrite 
)

Definition at line 72 of file dce-env.cc.

References ns3::Process::allocated, ns3::Current(), dce_unsetenv(), ns3::Process::penvp, ns3::Thread::process, and ns3::UtilsGetNodeId().

+ Here is the call graph for this function:

int dce_unsetenv ( const char *  name)

Definition at line 110 of file dce-env.cc.

References ns3::Current(), ns3::Process::penvp, ns3::Thread::process, and ns3::UtilsGetNodeId().

Referenced by dce_putenv(), and dce_setenv().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NS_LOG_COMPONENT_DEFINE ( "SimuEnv"  )