aboutsummaryrefslogtreecommitdiffstats
path: root/irc_parse.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-03-16 23:12:46 +0000
committerFreeArtMan <dos21h@gmail.com>2017-03-16 23:12:46 +0000
commitb04419c4c7e485f164d6481470b2e6b0087dcac1 (patch)
tree94e07b978e28c46d4df0bb791ba9c24f5f09d5ca /irc_parse.h
parentfbba9957124bde600e89e3720377f9c3ab78e3a0 (diff)
downloadagni-b04419c4c7e485f164d6481470b2e6b0087dcac1.tar.gz
agni-b04419c4c7e485f164d6481470b2e6b0087dcac1.zip
Add token to qcmd. Added needed functions to manage that
Diffstat (limited to 'irc_parse.h')
-rw-r--r--irc_parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/irc_parse.h b/irc_parse.h
index 4933f43..6366064 100644
--- a/irc_parse.h
+++ b/irc_parse.h
@@ -41,6 +41,8 @@ int token_cmp(irc_token *tk, int idx, char *str);
char* token_new_str(irc_token *tk, int idx);
//number of tokens
int token_len(irc_token *tk);
+//create new instance of token structure
+irc_token* token_cpy_new(irc_token *tk);
//clean all tokens
void token_destroy(irc_token *tk);