diff --git a/fsw/src/ci_lab_app.c b/fsw/src/ci_lab_app.c index 11c9d0a..f6cf0f3 100644 --- a/fsw/src/ci_lab_app.c +++ b/fsw/src/ci_lab_app.c @@ -31,7 +31,7 @@ #include "ci_lab_version.h" /* -** CI global data... +** CI Global Data */ CI_LAB_GlobalData_t CI_LAB_Global; diff --git a/fsw/src/ci_lab_app.h b/fsw/src/ci_lab_app.h index d196a70..50394e8 100644 --- a/fsw/src/ci_lab_app.h +++ b/fsw/src/ci_lab_app.h @@ -36,11 +36,15 @@ #include "ci_lab_dispatch.h" #include "ci_lab_cmds.h" +#include "ci_lab_msg.h" + #include #include #include -/****************************************************************************/ +/************************************************************************ + * Macro Definitions + ************************************************************************/ /************************************************************************ ** Type Definitions @@ -74,4 +78,17 @@ void CI_LAB_ReadUpLink(void); /* Global State Object */ extern CI_LAB_GlobalData_t CI_LAB_Global; +/* + * Individual message handler function prototypes + * + * Per the recommended code pattern, these should accept a const pointer + * to a structure type which matches the message, and return an int32 + * where CFE_SUCCESS (0) indicates successful handling of the message. + */ +int32 CI_LAB_Noop(const CI_LAB_NoopCmd_t *data); +int32 CI_LAB_ResetCounters(const CI_LAB_ResetCountersCmd_t *data); + +/* Housekeeping message handler */ +int32 CI_LAB_ReportHousekeeping(const CFE_MSG_CommandHeader_t *data); + #endif