29 #ifndef _FCSRESULT_P_H
30 #define _FCSRESULT_P_H
32 #include "fcs_definitions.h"
44 #define FCS_RESULT_SUCCESS NULL
46 #define FCS_RESULT_MAX_FUNCTION_LENGTH 64
47 #define FCS_RESULT_MAX_MESSAGE_LENGTH 512
83 #ifdef FCS_ENABLE_DEPRECATED
84 #define fcsResult_destroy fcs_result_destroy
85 #define fcsResult_getReturnCode fcs_result_get_return_code
86 #define fcsResult_getErrorMessage fcs_result_get_message
87 #define fcsResult_getErrorSource fcs_result_get_function
88 #define fcsResult_printResult fcs_result_print_result
fcs_int fcs_result_get_return_code(FCSResult result)
function to return the return code associated with an return state
const char * fcs_result_get_message(FCSResult result)
function to return the description message associated with an return state
void fcs_result_destroy(FCSResult result)
function to destroy an FCSResult-object
struct FCSResult_t * FCSResult
FCSResult-object that is used for handling the return state of the ScaFaCoS library functions.
void fcs_result_print_result(FCSResult result)
function to print the return state to stdout
const char * fcs_result_get_function(FCSResult result)
function to return the function name associated with an return state