aboutsummaryrefslogtreecommitdiff
path: root/client/parse.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:15:56 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:15:56 +0200
commitc3491119759462aeb3eed4b39aa34f6f98ab8a4f (patch)
tree4f5dbe8343bdd1656c8d368dfaf92dc23352240c /client/parse.h
parent6cb0ea50e1829c0c6c2e0179d3c6b7573c4a1b24 (diff)
WIP convert parse.cpp data into raw data
Diffstat (limited to 'client/parse.h')
-rw-r--r--client/parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/parse.h b/client/parse.h
index 10274e7..94afe70 100644
--- a/client/parse.h
+++ b/client/parse.h
@@ -22,7 +22,7 @@
*
* \return the remaining data after \p token and the first \p ifs
*/
-char* consume_token(char* token, const char* ifs);
+char* consume_token(char * token, const char * ifs);
/**
* \brief convert string with literals into raw data
@@ -38,5 +38,5 @@ char* consume_token(char* token, const char* ifs);
* \note The pointer that \p data refers to will not be initialized by this
* function if parsing fails
*/
-int strtodata(const char* str, char** data, size_t* size);
+int strtodata(const char * str, char ** data, size_t * size);