aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-27 16:13:18 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-28 21:58:06 +0200
commit0cfb3dad5de015b658b0917c43fabe420781f39f (patch)
tree25abaeeae73ce041f74246fd28ab9f9c9222d0a7 /src/common/utils.h
parentab4685070515230c9aa64f9e69eec7fc061ee8d7 (diff)
downloadblogc-0cfb3dad5de015b658b0917c43fabe420781f39f.tar.gz
blogc-0cfb3dad5de015b658b0917c43fabe420781f39f.tar.bz2
blogc-0cfb3dad5de015b658b0917c43fabe420781f39f.zip
common: added bc_slist_remove
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 94c3356..0e938a4 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -31,6 +31,7 @@ typedef struct _bc_slist_t {
bc_slist_t* bc_slist_append(bc_slist_t *l, void *data);
bc_slist_t* bc_slist_prepend(bc_slist_t *l, void *data);
+bc_slist_t* bc_slist_remove(bc_slist_t *l, bc_slist_t *r, bc_free_func_t free_func);
void bc_slist_free(bc_slist_t *l);
void bc_slist_free_full(bc_slist_t *l, bc_free_func_t free_func);
size_t bc_slist_length(bc_slist_t *l);