basic POC functionality established for peer module loading

This commit is contained in:
Chris Punches
2025-03-27 22:28:02 -04:00
parent 448dc0cdfd
commit 7b29824e40
9 changed files with 177 additions and 82 deletions

View File

@@ -27,7 +27,8 @@ enum Command {
CMD_UNKNOWN, /**< Unknown or unsupported command */
CMD_HELP, /**< Display help information */
CMD_CHECKSUM, /**< Verify package checksums */
CMD_SIGNATURE /**< Verify package signatures */
CMD_SIGNATURE, /**< Verify package signatures */
CMD_CHECK /**< Check build module integration */
};
/**
@@ -84,4 +85,16 @@ int cmd_unknown(const char* command, int argc, char** argv);
* @param cmd_str The command string to parse
* @return The corresponding Command enum value
*/
Command parse_command(const char* cmd_str);
Command parse_command(const char* cmd_str);
/**
* @brief Handler for the check command
*
* Checks if the build module can be loaded. This validates that the integration
* between the verify module and build module is working correctly.
*
* @param argc Number of arguments
* @param argv Array of arguments
* @return 0 on success, non-zero on failure
*/
int cmd_check(int argc, char** argv);