Only seed database for Debian install if we're using default config
[onak.git] / ll.h
diff --git a/ll.h b/ll.h
index 43a5bd364c4032c92e6b319d6118eb9842c3a821..464f99b0553eaf23c8f112af4ffd20feb2fb084e 100644 (file)
--- a/ll.h
+++ b/ll.h
@@ -4,8 +4,6 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2002 Project Purple
- *
- * $Id: ll.h,v 1.3 2003/06/04 20:57:10 noodles Exp $
  */
 
 #ifndef __LL_H__
@@ -51,6 +49,15 @@ struct ll {
  */
 struct ll *lladd(struct ll *curll, void *object);
 
+/**
+ *     lladdend - Add an item to the end of a linked list.
+ *     @curll: The list to add to. Can be NULL to create a new list.
+ *     @object: The object to add.
+ *
+ *     Returns a pointer to the head of the new list.
+ */
+struct ll *lladdend(struct ll *curll, void *object);
+
 /**
  *     lldel - Remove an item from a linked list.
  *     @curll: The list to remove the item from.
@@ -93,7 +100,6 @@ unsigned long llsize(struct ll *curll);
  *     objectfree then it's called for each element to free them, if it's NULL
  *     just the list is freed.
  */
-struct ll *llfree(struct ll *curll,
-       void (*objectfree) (void *object));
+void llfree(struct ll *curll, void (*objectfree) (void *object));
 
 #endif /* __LL_H__ */