DPM-Core/include/module_interface.hpp

12 lines
286 B
C++
Raw Normal View History

2025-02-18 04:10:35 +00:00
#pragma once
#include <string>
/*
* Provides reserved symbol names we look for in modules.
*/
// Common interface for all DPM modules
extern "C" {
// Module must export this symbol to be considered valid
int dpm_module_execute(const char* command, int argc, char** argv);
}