diff options
Diffstat (limited to 'src/cmd/apps.h')
-rw-r--r-- | src/cmd/apps.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/apps.h b/src/cmd/apps.h index 39665a720..280ee46a0 100644 --- a/src/cmd/apps.h +++ b/src/cmd/apps.h @@ -7,7 +7,10 @@ using namespace Botan; -int apps_main(const std::string& cmd, int argc, char* argv[]); +int unimplemented(int argc, char* argv[], const char* what); + +#define UNIMPLEMENTED(main, prob) \ + int main(int argc, char* argv[]) { return unimplemented(argc, argv, prob); } #define DEFINE_APP(cmd) int cmd ## _main(int argc, char* argv[]); |