/*============================================================================== Copyright (C) 2007 Martin Furter This file is part of svntar svntar is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. svntar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with svntar; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ==============================================================================*/ #ifndef SVN_TAR_WC_H #define SVN_TAR_WC_H #include "svn_tar.h" #include "svn_client.h" #include "svn_pools.h" /** * Add files and directories from a working copy. * * @param tar The tar structure to add to. * @param path The working copy path. * @param baserev If @c TRUE use the base revision. * @param ctx The subversion client context. * @param pool The APR pool to use for allocations. * @return An @a svn_error_t on error, else @c NULL. */ svn_error_t* svn_tar_wc( svn_tar_t* tar, const char* path, svn_boolean_t baserev, svn_client_ctx_t* ctx, apr_pool_t* pool ); #endif /* SVN_TAR_WC_H */