| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

free_dir_list

#include "sfldir.h"
Bool
free_dir_list (NODE *file_list)

Synopsis

Frees all FILELIST blocks in the specified linked list.

Source Code - (sfldir.c)

{
    ASSERT (file_list);

    while (file_list-> next != file_list)
      {
        free dir (&((FILEINFO *) file_list-> next)-> dir);
        node destroy (file_list-> next);
      }
    mem_free (file_list);
    return (TRUE);
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix