"Fossies" - the Fresh Open Source Software Archive

Member "libisofs-1.5.4/libisofs/tree.h" (8 Jul 2020, 760 Bytes) of package /linux/misc/libisofs-1.5.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "tree.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Copyright (c) 2007 Vreixo Formoso
    3  * 
    4  * This file is part of the libisofs project; you can redistribute it and/or 
    5  * modify it under the terms of the GNU General Public License version 2 
    6  * or later as published by the Free Software Foundation. 
    7  * See COPYING file for details.
    8  */
    9 #ifndef LIBISO_IMAGE_TREE_H_
   10 #define LIBISO_IMAGE_TREE_H_
   11 
   12 #include "image.h"
   13 
   14 /**
   15  * Recursively add a given directory to the image tree.
   16  * 
   17  * @return
   18  *      1 continue, 0 stop, < 0 error
   19  */
   20 int iso_add_dir_src_rec(IsoImage *image, IsoDir *parent, IsoFileSource *dir);
   21 
   22 
   23 int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block,
   24                               IsoNode **found, uint32_t *next_above, int flag);
   25  
   26 
   27 #endif /*LIBISO_IMAGE_TREE_H_*/