Initialize Git Repository: 'VLMCSD'
All checks were successful
VLMCSD (Bookworm) / VLMCSD [arm64] (push) Successful in 14s
VLMCSD (Bookworm) / VLMCSD [amd64] (push) Successful in 14s
VLMCSD (Noble) / VLMCSD [arm64] (push) Successful in 16s
VLMCSD (Noble) / VLMCSD [amd64] (push) Successful in 16s
VLMCSD (trixie) / VLMCSD [arm64] (push) Successful in 14s
VLMCSD (trixie) / VLMCSD [amd64] (push) Successful in 15s

This commit is contained in:
Cantibra
2026-01-26 06:11:03 +01:00
commit 5738c84bbc
101 changed files with 26092 additions and 0 deletions

36
sources/src/output.h Normal file
View File

@@ -0,0 +1,36 @@
#ifndef INCLUDED_OUTPUT_H
#define INCLUDED_OUTPUT_H
#ifndef CONFIG
#define CONFIG "config.h"
#endif // CONFIG
#include CONFIG
#include <errno.h>
#include "types.h"
#include "kms.h"
typedef int (*PRINTFUNC)(const char *const fmt, ...);
int printerrorf(const char *const fmt, ...);
int errorout(const char* fmt, ...);
void logRequestVerbose(REQUEST* Request, const PRINTFUNC p);
void logResponseVerbose(const char *const ePID, const BYTE *const hwid, RESPONSE* response, const PRINTFUNC p);
#ifndef NO_VERSION_INFORMATION
void printPlatform();
void printCommonFlags();
void printServerFlags();
void printClientFlags();
#endif // NO_VERSION_INFORMATION
#ifndef NO_LOG
int logger(const char *const fmt, ...);
#endif //NO_LOG
void uuid2StringLE(const GUID *const guid, char *const string);
//void copy_arguments(int argc, char **argv, char ***new_argv);
//void destroy_arguments(int argc, char **argv);
#endif // INCLUDED_OUTPUT_H