summaryrefslogtreecommitdiffhomepage
path: root/src/alias.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:44:19 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:51:02 +0100
commit1c4318331663b152b0b298bd2c9e5c971506a86b (patch)
treea402681cb84b491819ba5018525c16340110fd4d /src/alias.h
parent602a18977d500ad068fd63fbedcafb630c29ee72 (diff)
Prune some comments and tidy up other minor things
Diffstat (limited to 'src/alias.h')
-rw-r--r--src/alias.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/alias.h b/src/alias.h
index bc125eb..c13f342 100644
--- a/src/alias.h
+++ b/src/alias.h
@@ -19,13 +19,16 @@
struct alias {
struct alias *next;
- char name[32]; // TIL this has a hard limit :^)
+ char name[32];
char *value;
};
extern struct alias **_alias_head;
#define alias_head (*_alias_head) // act as a global
+/* Clears all aliases from the engine's internal list. */
void alias_nuke(void);
+
+/* Removes a specific named alias from the engine's internal list. */
void alias_rm(const char *name);
#endif