diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-26 11:15:56 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-26 11:15:56 +0200 |
commit | c3491119759462aeb3eed4b39aa34f6f98ab8a4f (patch) | |
tree | 4f5dbe8343bdd1656c8d368dfaf92dc23352240c /client/parse.h | |
parent | 6cb0ea50e1829c0c6c2e0179d3c6b7573c4a1b24 (diff) |
WIP convert parse.cpp data into raw data
Diffstat (limited to 'client/parse.h')
-rw-r--r-- | client/parse.h | 4 |
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); |