grasp_runtime_information.c File Reference
#include <stdio.h>
#include <string.h>
#include <grasp/utils.h>
#include "../retrieval/constants_set/mod_globals.inc"

Functions

void grasp_runtime_initialize (char **argv)
 
void grasp_runtime_set (char *exec_file, char *current_path, char *main_settings_file)
 
void grasp_runtime_debug ()
 
char * grasp_runtime_settings_file ()
 
char * grasp_runtime_settings_file_filename ()
 

Variables

char grasp_exec_file [_GBL_FILE_PATH_LEN]
 
char grasp_current_path [_GBL_FILE_PATH_LEN]
 
char grasp_main_settings_file [_GBL_FILE_PATH_LEN]
 

Function Documentation

◆ grasp_runtime_debug()

void grasp_runtime_debug ( )

◆ grasp_runtime_initialize()

void grasp_runtime_initialize ( char **  argv)

◆ grasp_runtime_set()

void grasp_runtime_set ( char *  exec_file,
char *  current_path,
char *  main_settings_file 
)

◆ grasp_runtime_settings_file()

char* grasp_runtime_settings_file ( )

Get current settings file (complete path)

Returns
Allocated string with settings file (including complete path)

◆ grasp_runtime_settings_file_filename()

char* grasp_runtime_settings_file_filename ( )

Get filename of current settings file

Returns
Allocated string with filename of current settings file

Variable Documentation

◆ grasp_current_path

char grasp_current_path[_GBL_FILE_PATH_LEN]

◆ grasp_exec_file

char grasp_exec_file[_GBL_FILE_PATH_LEN]

◆ grasp_main_settings_file

char grasp_main_settings_file[_GBL_FILE_PATH_LEN]