libarmutils  1.4
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups
dsenv.c File Reference

DataSystem Environment Functions. More...

#include "armutils.h"

Go to the source code of this file.

Functions

char * dsenv_get_hostname (void)
 Get hostname.
int dsenv_getenv (const char *name, char **value)
 Get environment variable.
int dsenv_setenv (const char *name, const char *format,...)
 Set environment variable.
int dsenv_get_apps_conf_root (const char *proc_name, const char *proc_type, char **path)
 Get the root path of the apps conf directory.
int dsenv_get_apps_conf_dir (const char *proc_name, const char *proc_type, const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the apps conf directory for a datastream.
int dsenv_get_collection_root (char **path)
 Get the root path of the data collection directory.
int dsenv_get_collection_dir (const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the data collection directory for a datastream.
int dsenv_get_data_conf_root (char **path)
 Get the root path of the data conf directory.
int dsenv_get_data_conf_dir (const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the data conf directory for a datastream.
int dsenv_get_datastream_root (char **path)
 Get the root path of the datastream directory.
int dsenv_get_datastream_dir (const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the datastream directory for a datastream.
int dsenv_get_input_datastream_root (char **path)
 Get the root path of the input datastream directory.
int dsenv_get_input_datastream_dir (const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the input datastream directory.
int dsenv_get_output_datastream_root (char **path)
 Get the root path of the output datastream directory.
int dsenv_get_output_datastream_dir (const char *site, const char *facility, const char *name, const char *level, char **path)
 Get the output datastream directory.
int dsenv_get_tmp_root (char **path)
 Get the root path of the data tmp directory.
int dsenv_get_logs_root (char **path)
 Get the root path of the data logs directory.
int dsenv_get_quicklook_root (char **path)
 Get the root path of the quicklook directory.

Detailed Description

DataSystem Environment Functions.

Definition in file dsenv.c.