Stuff and things and shit

This commit is contained in:
Nathan Fisher 2024-02-10 12:18:31 -05:00
parent cfe1f4d3f2
commit e41503ad2e

View file

@ -86,7 +86,7 @@ const char *archToString(Arch self) {
return ArchNames[self];
}
int archFromString(char *s) {
int parseArch(char *s) {
int i;
for (i = 0; i < 14; i++) {
if (strncasecmp(s, ArchNames[i], 10) == 0)
@ -106,6 +106,11 @@ int archFromString(char *s) {
return -1;
}
int parseVersion(Version *self, const char *s) {
// todo
return -1;
}
char *versionToString(Version *self) {
char *buf, *temp;