output.h 760 B

123456789101112131415161718192021222324252627
  1. #ifndef INCLUDED_OUTPUT_H
  2. #define INCLUDED_OUTPUT_H
  3. #ifndef CONFIG
  4. #define CONFIG "config.h"
  5. #endif // CONFIG
  6. #include CONFIG
  7. #include "kms.h"
  8. typedef int (*PRINTFUNC)(const char *const fmt, ...);
  9. void printerrorf(const char *const fmt, ...);
  10. int errorout(const char* fmt, ...);
  11. void logRequestVerbose(const REQUEST *const Request, const PRINTFUNC p);
  12. void logResponseVerbose(const char *const ePID, const BYTE *const hwid, const RESPONSE *const response, const PRINTFUNC p);
  13. #ifndef NO_LOG
  14. int logger(const char *const fmt, ...);
  15. #endif //NO_LOG
  16. void uuid2StringLE(const GUID *const guid, char *const string);
  17. //void copy_arguments(int argc, char **argv, char ***new_argv);
  18. //void destroy_arguments(int argc, char **argv);
  19. #endif // INCLUDED_OUTPUT_H