modfetch/include/util.h
jacekpoz d24c1d3767
big refactor of pretty much everything
I still need to make the Makefile better as it's pretty shit right now
but it's alright for now I think
2024-02-11 23:23:50 +01:00

20 lines
409 B
C

#ifndef _MODFETCH_UTIL_H
#define _MODFETCH_UTIL_H
#include <stdint.h>
static const uint8_t MAX_MODULE_NAME_LENGTH = 128;
static const uint8_t MAX_MODULES = 128;
static const uint8_t INITIAL_CONFIG_SIZE = 8;
static const uint16_t MAX_PATH_LENGTH = 4096;
char *remove_whitespaces(const char *str);
char *resolve_env_vars(const char *str);
char *process_str(const char *str);
#endif // _MODFETCH_UTIL_H