summaryrefslogtreecommitdiff
path: root/subvertpy/wc.h
blob: ccd50d481081a540ad31dc015afc3782b3b5ab52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * Copyright © 2008 Jelmer Vernooij <jelmer@jelmer.uk>
 * -*- coding: utf-8 -*-
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARWCNTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#ifndef _BZR_SVN_WC_H_
#define _BZR_SVN_WC_H_

#ifdef __GNUC__
#pragma GCC visibility push(hidden)
#endif

bool py_dict_to_wcprop_changes(PyObject *dict, apr_pool_t *pool, apr_array_header_t **ret);
void py_wc_notify_func(void *baton, const svn_wc_notify_t *notify, apr_pool_t *pool);
PyObject *py_wc_status2(svn_wc_status2_t *status);
#if ONLY_SINCE_SVN(1, 5)
extern const svn_ra_reporter3_t py_ra_reporter3;
#endif
extern const svn_ra_reporter2_t py_ra_reporter2;

#if ONLY_SINCE_SVN(1, 6)
svn_error_t *wc_validator3(void *baton, const char *uuid, const char *url, const char *root_url, apr_pool_t *pool);
#endif
svn_error_t *wc_validator2(void *baton, const char *uuid, const char *url, svn_boolean_t root, apr_pool_t *pool);
svn_wc_committed_queue_t *PyObject_GetCommittedQueue(PyObject *obj);
extern PyTypeObject CommittedQueue_Type;
svn_lock_t *py_object_to_svn_lock(PyObject *py_lock, apr_pool_t *pool);

/* Provided by wc_adm.h */
extern PyTypeObject Adm_Type;
extern PyTypeObject Entry_Type;
extern PyTypeObject Status2_Type;
svn_wc_adm_access_t *PyObject_GetAdmAccess(PyObject *obj);
extern PyTypeObject Lock_Type;

#ifdef __GNUC__
#pragma GCC visibility pop
#endif

#endif /* _BZR_SVN_WC_H_ */