28 lines
760 B
C
28 lines
760 B
C
/*
|
|
* Copyright (c) 2007 Vreixo Formoso
|
|
*
|
|
* This file is part of the libisofs project; you can redistribute it and/or
|
|
* 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.
|
|
*/
|
|
#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);
|
|
|
|
|
|
int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block,
|
|
IsoNode **found, uint32_t *next_above, int flag);
|
|
|
|
|
|
#endif /*LIBISO_IMAGE_TREE_H_*/
|