ERA OF THE CHIMERA

ERA OF THE CHIMERA
ERA OF THE CHIMERA
ERA OF THE CHIMERA
ERA OF THE CHIMERA
ERA OF THE CHIMERA
This commit is contained in:
malloc 2019-02-08 15:30:09 -06:00
parent cd267454c2
commit 0962392e70
8 changed files with 20 additions and 10 deletions

1
src/util/containers.c Normal file
View file

@ -0,0 +1 @@
#include "containers.h"

10
src/util/containers.h Normal file
View file

@ -0,0 +1,10 @@
#ifndef GLV_UTIL_CONTAINERS_H
#define GLV_UTIL_CONTAINERS_H
typedef struct {
} glv_map_t;
glv_map_t* glv_map_create();
#endif

View file

@ -1,4 +1,5 @@
#include "string.h"
#include "etc.h"
#include <string.h>
int axtoi(const char* str) {
int value = 0, i;

View file

@ -1,8 +1,10 @@
#ifndef GLV_UTIL_STRING_H
#define GLV_UTIL_STRING_H
#include <string.h>
#define MAX(X,Y) (((X)>(Y))?(X):(Y))
#define MIN(X,Y) (((X)<(Y))?(X):(Y))
// AUX STRING FUNCS
int axtoi(const char* str);
int strcnt(const char* str, char c);

View file

@ -1,5 +1,2 @@
//
// Created by alec on 2/7/2019.
//
#include "ini.h"

View file

@ -1,6 +1,8 @@
#ifndef GLV_UTIL_INI_H
#define GLV_UTIL_INI_H
typedef struct {
} glv_ini_t;
#endif

View file

@ -1,8 +1,5 @@
#include "ipaddr.h"
#define MAX(X,Y) (((X)>(Y))?(X):(Y))
#define MIN(X,Y) (((X)<(Y))?(X):(Y))
const ipaddr_t error_addr = {{0, 0, 0, 0, 0, 0, 0, 0}, -1};
ipaddr_t glv_ip_aton(const char* addr) {

View file

@ -7,7 +7,7 @@
#include <stdlib.h>
#include <ctype.h>
#include "util/string.h"
#include "util/etc.h"
typedef struct {
uint16_t addr[8];