summaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2021-09-01 17:45:10 +0100
committerrafa_99 <raroma09@gmail.com>2021-09-01 17:45:10 +0100
commite78400340219923af5c4f6ff3c55b5956cb6223a (patch)
tree8149715be3624b7ec587d9bf2ed118fa2b58f1c8 /include/utils.h
parente2ffc88b409b54f7a23d963095ea3a2439a361c1 (diff)
Grabbed video info from JSON and created Video Structures with it
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
new file mode 100644
index 0000000..987b7fe
--- /dev/null
+++ b/include/utils.h
@@ -0,0 +1,7 @@
+#pragma once
+
+int tokenCount(char *string, char *delimiter);
+char** tokenizer(char *string, char *delimiter);
+void freeTokens(char **tokens, int size);
+char* queryNormalizer(char *query);
+char* extractQueryJSON(char *youtubeurl);