This commit is contained in:
2025-08-21 15:51:05 -04:00
parent 4e4d867895
commit 592301d1f8
28 changed files with 201 additions and 161 deletions

14
src/util.c Normal file
View File

@@ -0,0 +1,14 @@
#include <string.h>
#include "util.h"
#include "../include/yait.h"
// clang-format off
licence_t TOlicence(const char *s)
{
if (strcmp(s, "mit")) return MIT;
if (strcmp(s, "gpl")) return GPL;
if (strcmp(s, "bsd")) return BSD;
return UNL;
}
// clang-format on