openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus-broker/19-r0/dbus-broker-19/subprojects/c-list/src/c-list.h
static inline void c_list_flush(CList* list)
{
    CList *iter, *safe;

    c_list_for_each_safe_unlink(iter, safe, list)
        /* empty */;
}
/**
 * c_list_flush() - flush all entries from a list
 * @list:               list to flush
 *
 * This unlinks all entries from the given list @list and reinitializes their
 * link-nodes via C_LIST_INIT().
 *
 * Note that the entries are not modified in any other way, nor is their memory
 * released. This function just unlinks them and resets all the list nodes. It
 * is particularly useful with temporary lists on the stack in combination with
 * the GCC-extension __attribute__((__cleanup__(arg))).
 */
flush all entries from a list
@list:               list to flush

This unlinks all entries from the given list @list and reinitializes their
link-nodes via C_LIST_INIT().

Note that the entries are not modified in any other way, nor is their memory
released. This function just unlinks them and resets all the list nodes. It
is particularly useful with temporary lists on the stack in combination with
the GCC-extension __attribute__((__cleanup__(arg))).
flush all entries from a list @list : list to flush This unlinks all entries from the given list @list and reinitializes their link - nodes via C_LIST_INIT () . Note that the entries are not modified in any other way nor is their memory released . This function just unlinks them and resets all the list nodes . It is particularly useful with temporary lists on the stack in combination with the GCC - extension __attribute__ (( __cleanup__ ( arg ))) .
static inline void c_list_flush(CList* list)
{
    CList *iter, *safe;
    c_list_for_each_safe_unlink(iter, safe, list)
        ;
}
static inline void c_list_flush ( CList * list ) { CList * iter , * safe ; c_list_for_each_safe_unlink ( iter , safe , list ) ; }
c_list_flush() - flush all entries from a list
 @list:               list to flush
c_list_flush () - flush all entries from a list @list : list to flush
/* empty */