X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=ll.h;h=464f99b0553eaf23c8f112af4ffd20feb2fb084e;hb=d1e174344cb2d8d3681cd3c3d6dfe0c70d60da20;hp=be6dc4ed8fa3a7f1cc6c1f74228fb0da1d07a005;hpb=58d762ea573eb3cfea626bb52ea7a99e24b8a0aa;p=onak.git diff --git a/ll.h b/ll.h index be6dc4e..464f99b 100644 --- a/ll.h +++ b/ll.h @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: ll.h,v 1.4 2003/10/04 10:21:41 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.