aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-25 20:34:58 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-25 22:28:41 +0200
commit008b956ba609bf30d8c6f44c36d9f11cdc493bc2 (patch)
tree69fac42a072944bd8eefaf4a4d04e185faef8b5e /src/common/utils.h
parente4c08cd44e37f28cd11d62a95f4791ace663c62d (diff)
downloadblogc-008b956ba609bf30d8c6f44c36d9f11cdc493bc2.tar.gz
blogc-008b956ba609bf30d8c6f44c36d9f11cdc493bc2.tar.bz2
blogc-008b956ba609bf30d8c6f44c36d9f11cdc493bc2.zip
common: added bc_str_to_bool
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 0f05c96..101a4b3 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -50,6 +50,7 @@ char* bc_str_strip(char *str);
char** bc_str_split(const char *str, char c, size_t max_pieces);
char* bc_str_replace(const char *str, const char search, const char *replace);
char* bc_str_find(const char *str, char c);
+bool bc_str_to_bool(const char *str);
void bc_strv_free(char **strv);
char* bc_strv_join(char **strv, const char *separator);
size_t bc_strv_length(char **strv);