/**********************************************************
 * cvs_tree.h
 *
 * Copyright 2004, Stefan Siegl <stesie@brokenpipe.de>, Germany
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Publice License,
 * version 2 or any later. The license is contained in the COPYING
 * file that comes with the cvsfs distribution.
 *
 * download file/directory tree from cvs
 */

#ifndef CVS_TREE_H
#define CVS_TREE_H

#include <stdio.h>

/* read the whole file and directory tree of the module specified in config
 * structure.  The tree is stored in **ptr_to_rootnode, make sure
 * *ptr_to_rootnode is NULL on first call.
 * RETURN: 0 on success
 */
error_t cvs_tree_read(struct netnode **ptr_to_rootnode); 

#endif /* CVS_TREE_H */
