Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OTPaths.cpp File Reference
#include "stdafx.hpp"
#include "util/OTPaths.hpp"
#include "OTLog.hpp"
#include "util/StringUtils.hpp"
#include <cerrno>
#include <vector>
#include <sys/stat.h>
#include <libgen.h>
#include <unistd.h>
Include dependency graph for OTPaths.cpp:

Go to the source code of this file.

Namespaces

 opentxs
 

Macros

#define S_ISDIR(mode)   (((mode)&S_IFMT) == S_IFDIR)
 
#define S_ISREG(mode)   (((mode)&S_IFMT) == S_IFREG)
 
#define OT_APPDATA_DIR   ".ot"
 
#define OT_PREFIX_PATH   "/usr/local"
 
#define OT_INIT_CONFIG_FILENAME   "ot_init.cfg"
 
#define OT_CONFIG_ISRELATIVE   "_is_relative"
 
#define OT_SCRIPTS_DIR   "lib/opentxs"
 
#define GetCurrentDir   getcwd
 

Functions

bool opentxs::GetExecutable (OTString &strExecutablePath)
 
bool opentxs::GetCurrentWorking (OTString &strCurrentWorkingPath)
 

Macro Definition Documentation

#define GetCurrentDir   getcwd
#define OT_APPDATA_DIR   ".ot"

Definition at line 179 of file OTPaths.cpp.

#define OT_CONFIG_ISRELATIVE   "_is_relative"

Definition at line 199 of file OTPaths.cpp.

#define OT_INIT_CONFIG_FILENAME   "ot_init.cfg"

Definition at line 198 of file OTPaths.cpp.

#define OT_PREFIX_PATH   "/usr/local"

Definition at line 194 of file OTPaths.cpp.

#define OT_SCRIPTS_DIR   "lib/opentxs"

Definition at line 206 of file OTPaths.cpp.

#define S_ISDIR (   mode)    (((mode)&S_IFMT) == S_IFDIR)

Definition at line 165 of file OTPaths.cpp.

#define S_ISREG (   mode)    (((mode)&S_IFMT) == S_IFREG)

Definition at line 169 of file OTPaths.cpp.