supercop

Basic CLI for supercop
git clone git://git.finwo.net/app/supercop
Log | Files | Refs | README | LICENSE

usage.h (506B)


      1 #ifndef __SUPERCOP_CLI_USAGE_H__
      2 #define __SUPERCOP_CLI_USAGE_H__
      3 
      4 #ifdef __cplusplus
      5 extern "C" {
      6 #endif
      7 
      8 // Parse the global options, returns the remaining argument count
      9 // Sets show_version when -V/--version was given, handles --help by itself
     10 int supercop_global_options(int argc, const char **argv, int *show_version);
     11 
     12 // Print the global usage: options, commands and help topics
     13 void supercop_print_global_usage(void);
     14 
     15 #ifdef __cplusplus
     16 } // extern "C"
     17 #endif
     18 
     19 #endif // __SUPERCOP_CLI_USAGE_H__