2008-01-03 19:04:08 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Vreixo Formoso
|
|
|
|
*
|
|
|
|
* This file is part of the libisofs project; you can redistribute it and/or
|
2010-01-27 05:48:59 +00:00
|
|
|
* modify it under the terms of the GNU General Public License version 2
|
|
|
|
* or later as published by the Free Software Foundation.
|
|
|
|
* See COPYING file for details.
|
2008-01-03 19:04:08 +00:00
|
|
|
*/
|
|
|
|
#ifndef LIBISO_IMAGE_TREE_H_
|
|
|
|
#define LIBISO_IMAGE_TREE_H_
|
|
|
|
|
|
|
|
#include "image.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Recursively add a given directory to the image tree.
|
|
|
|
*
|
|
|
|
* @return
|
|
|
|
* 1 continue, 0 stop, < 0 error
|
|
|
|
*/
|
|
|
|
int iso_add_dir_src_rec(IsoImage *image, IsoDir *parent, IsoFileSource *dir);
|
|
|
|
|
2014-04-11 13:39:45 +00:00
|
|
|
|
|
|
|
int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block,
|
2014-04-27 10:09:13 +00:00
|
|
|
IsoNode **found, uint32_t *next_above, int flag);
|
2014-04-11 13:39:45 +00:00
|
|
|
|
|
|
|
|
2008-01-03 19:04:08 +00:00
|
|
|
#endif /*LIBISO_IMAGE_TREE_H_*/
|