From 80a67b7d20393a29aa5d2cb92197f3381be7fd96 Mon Sep 17 00:00:00 2001 From: turret Date: Sat, 30 Mar 2024 16:04:45 -0500 Subject: *: directory changes since this project is a skeleton and not meant to clutter up the code that will actually consume the bot, i've opted to consolidate the majority of files under a single directory and minimise extra files *: move code to util/ *: move include files to include/dbs/ net: consolidate net functions into single file config: remove config --- include/dbs/util.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 include/dbs/util.h (limited to 'include/dbs/util.h') diff --git a/include/dbs/util.h b/include/dbs/util.h new file mode 100644 index 0000000..bad4a33 --- /dev/null +++ b/include/dbs/util.h @@ -0,0 +1,3 @@ +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) + +#define writeputs(str) write(STDOUT_FILENO, str, strlen(str)); -- cgit v1.2.3