#ifndef RETURN_CODE_H #define RETURN_CODE_H enum C_RETURN_CODE { C_RETURN_CODE_OK = 0, C_RETURN_CODE_NOT_OK, C_RETURN_CODE_INVALID_PARAMENTER, C_RETURN_CODE_END }; typedef struct returnCodeC RETURN_CODE_C; typedef struct returnCodeC { const char *(*printStringCode)(const RETURN_CODE_C); const long int mCode; } RETURN_CODE_C; /* ** Make sure we can call this stuff from C++. */ #ifdef __cplusplus extern "C" { #endif const RETURN_CODE_C CreateReturnCode(const long int code); #ifdef __cplusplus } #endif #endif