aboutsummarylogtreecommitdiffstats
path: root/api.h
diff options
context:
space:
mode:
authorAntony Kellermann2018-02-04 23:04:09 -0500
committerAntony Kellermann2018-02-04 23:04:09 -0500
commit6f95e055b66f0a0a92b141bd5ac33a93f780e5c9 (patch)
tree32085ece9d2458a56a23e961e267e613b119cc9f /api.h
parent7744aea198540aa707c35bcd364ddc3ea07c3f50 (diff)
downloadaur-6f95e055b66f0a0a92b141bd5ac33a93f780e5c9.tar.gz
Minor formatting fixes in news
Diffstat (limited to 'api.h')
-rw-r--r--api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/api.h b/api.h
index 1163e173b70a..e11523e0d3fd 100644
--- a/api.h
+++ b/api.h
@@ -104,6 +104,14 @@ void json_print_news(Json* jobj);
const char* google_shorten_link(char* url_string);
/**
+ * Returns a string stripped of the given char
+ * @param string the string to strip the char from
+ * @param c the char to strip
+ * @return the stripped string
+ */
+const char* strip_char(char* string, char c);
+
+/**
* Destroys String object and frees memory
* @param phString the String to destroy
*/