aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-21 23:12:05 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-21 23:12:05 +0100
commitb9ec274bed571db9c705b65bb8c0bb6409c34fc4 (patch)
treec5c4a8f5e5dd906772916fea1084659dc725d5f9 /src/common/utils.h
parent209ea0657b7970b4b8069ce44b43eecb97681892 (diff)
downloadblogc-b9ec274bed571db9c705b65bb8c0bb6409c34fc4.tar.gz
blogc-b9ec274bed571db9c705b65bb8c0bb6409c34fc4.tar.bz2
blogc-b9ec274bed571db9c705b65bb8c0bb6409c34fc4.zip
git-receiver: moved shell quote function to common
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 020f243..2bda45d 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -99,4 +99,9 @@ size_t bc_trie_size(bc_trie_t *trie);
void bc_trie_foreach(bc_trie_t *trie, bc_trie_foreach_func_t func,
void *user_data);
+
+// shell
+
+char* bc_shell_quote(const char *command);
+
#endif /* _UTILS_H */