3D-ICE 3.0.0
Functions
stack_file_parser.h File Reference
#include "types.h"
#include "string_t.h"
#include "stack_description.h"
#include "analysis.h"
#include "output.h"

Go to the source code of this file.

Functions

Error_t parse_stack_description_file (String_t filename, StackDescription_t *stkd, Analysis_t *analysis, Output_t *output)
 
Error_t generate_stack_description_file (String_t filename, StackDescription_t *stkd, Analysis_t *analysis, Output_t *output)
 

Function Documentation

◆ generate_stack_description_file()

Error_t generate_stack_description_file ( String_t  filename,
StackDescription_t stkd,
Analysis_t analysis,
Output_t output 
)

Generates a stack description file

Parameters
filenamethe path of the stack file to generate
stkdthe address of the StackDescription structure
analysisthe address of the Analysis structure
outputthe address of the Output structure
Returns
TDICE_FAILURE if the file cannot be created
TDICE_SUCCESS otherwise

Definition at line 107 of file stack_file_parser.c.

◆ parse_stack_description_file()

Error_t parse_stack_description_file ( String_t  filename,
StackDescription_t stkd,
Analysis_t analysis,
Output_t output 
)

Fills the StackDescription Analysis structures with the content taken from a stack description file

Parameters
filenamethe path of the stack file to parse
stkdthe address of the StackDescription structure to fill
analysisthe address of the Analysis structure to fill
outputthe address of the Output structure to fill
Returns
TDICE_FAILURE if the file cannot be opened or if the parsing of the stack description fails
TDICE_SUCCESS otherwise

Definition at line 61 of file stack_file_parser.c.