X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/be024aa68a513a2a85a7cddb28de4664b0b96144..01c34102a1d2f1aefaa1bf3c4fb95ba46c46b551:/ll.h diff --git a/ll.h b/ll.h index d4152cc..464f99b 100644 --- a/ll.h +++ b/ll.h @@ -49,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.