Add typedefs and organize code.

This commit is contained in:
Christian Deacon
2025-02-22 10:24:21 -05:00
parent 1b9e805207
commit 09491e1462
12 changed files with 72 additions and 72 deletions

View File

@@ -7,10 +7,10 @@
#include <stdio.h>
#include <stdlib.h>
struct ip
struct ip_range
{
u32 ip;
u32 cidr;
};
} typedef ip_range_t;
struct ip ParseIp(const char *ip);
ip_range_t ParseIpCidr(const char *ip);