add pop/push cells into list
[tedtools.git] / glist.h
diff --git a/glist.h b/glist.h
index 3221fe0..beb685d 100644 (file)
--- a/glist.h
+++ b/glist.h
@@ -58,8 +58,10 @@ typedef struct GList {
 
 GListCell*     GListPop(GList *l);
 GList* GListPush(GList *l, void *ptr);
+GList* GListPushCell(GList *l, GListCell* c);
 GListCell*     GListShift(GList *l);
 GList* GListUnshift(GList *l, void *ptr);
+GList* GListUnshiftCell(GList *l, GListCell* c);
 GList* GListInsert(GList *l, GListCell *prev, void *ptr);
 GList* GListDelete(GList *l, GListCell *c);
 GListCell* GListGet(GList *l, int n);