summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index 4605da6..d51d61c 100644
--- a/functions.h
+++ b/functions.h
@@ -27,4 +27,10 @@ int getstdin(char *prompt, char *buff, size_t sz);
// Append CR-LF to the end of a string (after cleaning up any existing trailing CR or LF)
void appendcrlf(char *string);
+// Remove leading colon ':' which is the starting character of a prefix in an IRC message
+void stripprefix(char *string);
+
+// Extract final parameter from IRC message, removing the leading colon ':'
+void extractfinalparameter(char *string);
+
#endif