#include <string.h>
#include <utils/utils.h>
#include <sed/sed_sedflux.h>
#include "my_processes.h"
Go to the source code of this file.
Defines | |
#define | SED_CPR_PROC_NAME "cpr" |
#define | EH_LOG_DOMAIN SED_CPR_PROC_NAME |
#define | S_KEY_DIR "output directory" |
Functions | |
gboolean | dump_cpr_data (gpointer ptr, FILE *fp) |
gpointer | load_cpr_data (FILE *fp) |
void | eh_dump_file_list (Eh_file_list *fl, FILE *fp) |
Eh_file_list * | eh_load_file_list (FILE *fp) |
gboolean | init_cpr_data (Sed_process proc, Sed_cube prof, GError **error) |
Sed_process_info | run_cpr (Sed_process proc, Sed_cube prof) |
gboolean | init_cpr (Sed_process p, Eh_symbol_table tab, GError **error) |
gboolean | destroy_cpr (Sed_process p) |
#define S_KEY_DIR "output directory" |
gboolean destroy_cpr | ( | Sed_process | p | ) |
Definition at line 106 of file run_cpr.c.
References eh_destroy_file_list(), eh_free, Cpr_t::file_list, Cpr_t::output_dir, and sed_process_user_data().
gboolean dump_cpr_data | ( | gpointer | ptr, | |
FILE * | fp | |||
) |
Definition at line 124 of file run_cpr.c.
References eh_dump_file_list(), eh_require, Cpr_t::file_list, and Cpr_t::output_dir.
void eh_dump_file_list | ( | Eh_file_list * | fl, | |
FILE * | fp | |||
) |
Definition at line 157 of file run_cpr.c.
References Eh_file_list::count, Eh_file_list::format, Eh_file_list::prefix, and Eh_file_list::suffix.
Referenced by dump_cpr_data().
Eh_file_list * eh_load_file_list | ( | FILE * | fp | ) |
Definition at line 177 of file run_cpr.c.
References Eh_file_list::count, eh_new, Eh_file_list::format, Eh_file_list::prefix, and Eh_file_list::suffix.
Referenced by load_cpr_data().
gboolean init_cpr | ( | Sed_process | p, | |
Eh_symbol_table | tab, | |||
GError ** | error | |||
) |
Definition at line 60 of file run_cpr.c.
References eh_return_val_if_fail, eh_symbol_table_value(), Cpr_t::file_list, Cpr_t::output_dir, S_KEY_DIR, sed_process_new_user_data, and try_dir().
gboolean init_cpr_data | ( | Sed_process | proc, | |
Sed_cube | prof, | |||
GError ** | error | |||
) |
Definition at line 84 of file run_cpr.c.
References eh_create_file_list(), eh_free, Cpr_t::file_list, Cpr_t::output_dir, sed_cube_name(), and sed_process_user_data().
Referenced by run_cpr().
gpointer load_cpr_data | ( | FILE * | fp | ) |
Definition at line 141 of file run_cpr.c.
References eh_load_file_list(), eh_new, eh_require, Cpr_t::file_list, and Cpr_t::output_dir.
Sed_process_info run_cpr | ( | Sed_process | proc, | |
Sed_cube | prof | |||
) |
Definition at line 36 of file run_cpr.c.
References eh_get_next_file(), Cpr_t::file_list, init_cpr_data(), sed_cube_write(), SED_EMPTY_INFO, sed_process_run_count(), and sed_process_user_data().