This commit is contained in:
2025-11-09 12:08:22 +01:00
parent 88735d1595
commit 739d6a7aee
10 changed files with 495 additions and 24 deletions
+10
View File
@@ -8,6 +8,14 @@ typedef struct {
char data[32];
} SHA256;
typedef struct {
uint32_t data;
} IPv4;
typedef struct {
uint16_t data[8];
} IPv6;
typedef struct {
char *ptr;
int len;
@@ -29,4 +37,6 @@ bool getargb(int argc, char **argv, char *name);
string getargs(int argc, char **argv, char *name, char *fallback);
int getargi(int argc, char **argv, char *name, int fallback);
void append_hex_as_str(char *out, SHA256 hash);
#endif // BASIC_INCLUDED