Changeset d34657e in mainline for src/lib/list.c


Ignore:
Timestamp:
2005-05-11T17:00:13Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27dc170
Parents:
724b58a
Message:

doxygen-style comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lib/list.c

    r724b58a rd34657e  
    2929#include <list.h>
    3030
     31
     32/** Check for membership
     33 *
     34 * Check whether link is contained in the list head.
     35 * The membership is defined as pointer equivalence.
     36 *
     37 * @param link Item to look for.
     38 * @param head List to look in.
     39 *
     40 * @return 1 if link is contained in head, 0 otherwise.
     41 *
     42 */
    3143int list_member(link_t *link, link_t *head)
    3244{
     
    4557}
    4658
     59
     60/** Concatenate two lists
     61 *
     62 * Concatenate lists head1 and head2, producing a single
     63 * list head1 containing items from both (in head1, head2
     64 * order) and empty list head2.
     65 *
     66 * @param head1 First list and concatenated output
     67 * @param head2 Second list and empty output.
     68 *
     69 */
    4770void list_concat(link_t *head1, link_t *head2)
    4871{
Note: See TracChangeset for help on using the changeset viewer.