mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-07-08 01:30:39 +08:00
add http client
This commit is contained in:
@@ -27,6 +27,14 @@ int cstr_is_integer(const char* str, int allow_sign);
|
||||
* @return 1 if successed otherwise 0.
|
||||
*/
|
||||
int cstr_tolowercase(const char* str, size_t input_len, char** output);
|
||||
/**
|
||||
* @brief Convert string to uppercase
|
||||
* @param str Origin string
|
||||
* @param input_len The length of origin string. If is 0, strlen will be called to calculate length.
|
||||
* @param output Output string. Need free memory by calling free.
|
||||
* @return 1 if successed otherwise 0.
|
||||
*/
|
||||
int cstr_touppercase(const char* str, size_t input_len, char** output);
|
||||
/**
|
||||
* @brief Convert bytes to uint32
|
||||
* @param bytes Bytes (at least 4 bytes)
|
||||
|
||||
Reference in New Issue
Block a user