summaryrefslogtreecommitdiff
path: root/src/ll.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-03-24 18:10:58 -0500
committer@syxhe <https://t.me/syxhe>2025-03-24 18:10:58 -0500
commita407458a893fd0716cfee564ad98756364c25a7a (patch)
treee2117ffeef747dd503c4b354e13c0ab34399d063 /src/ll.h
parent3b5bf3b6ab23c6a5157919490cc07787614f95b8 (diff)
Change the name of readwholebuffer and writewholebuffer so that they won't autocomplete when typing "return"
Diffstat (limited to 'src/ll.h')
-rw-r--r--src/ll.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ll.h b/src/ll.h
index 1f4b3b2..3d8ecc1 100644
--- a/src/ll.h
+++ b/src/ll.h
@@ -8,7 +8,7 @@
8////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*//* 8////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*//*
9// // 9// //
10// dlinkedlist functions should be considered X_ALLOC functions, as they call xcalloc to initialize new nodes. This is not // 10// dlinkedlist functions should be considered X_ALLOC functions, as they call xcalloc to initialize new nodes. This is not //
11// reflected in their naming, which could change later, but as of know it is something to keep in mind. This means ABSOLUETLY NO // 11// reflected in their naming, which could change later, but as of now it is something to keep in mind. This means ABSOLUETLY NO //
12// USE OF DLINKEDLIST FUNCTIONS INSIDE ENCRYPTION FUNCTIONS, OR ANYTHING THAT SHOULD BE CONSIDERED ATOMIC OR SEMI-ATOMIC. IF // 12// USE OF DLINKEDLIST FUNCTIONS INSIDE ENCRYPTION FUNCTIONS, OR ANYTHING THAT SHOULD BE CONSIDERED ATOMIC OR SEMI-ATOMIC. IF //
13// XCALLOC ERRORS FOR ANY REASON, AND YOU'RE DOING SOMETHING WITH THESE IN AN (SEMI)ATOMIC FUNCTION, YOU WILL BREAK SHIT // 13// XCALLOC ERRORS FOR ANY REASON, AND YOU'RE DOING SOMETHING WITH THESE IN AN (SEMI)ATOMIC FUNCTION, YOU WILL BREAK SHIT //
14// // 14// //
@@ -18,6 +18,9 @@
18// BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WA // 18// BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WA //
19//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/ 19//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
20 20
21/* TODO: Implement a way to register a set of alloc functions to a linked list so I can give it arenas for memory allocation
22// instead of just xcalloc */
23
21typedef int (*dll_freecb)(void*); 24typedef int (*dll_freecb)(void*);
22typedef struct dlinked dlinkedlist; 25typedef struct dlinked dlinkedlist;
23 26