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_*/
28