2 * win32_xlate.h : Windows xlate stuff.
4 * ====================================================================
5 * Copyright (c) 2007 CollabNet. All rights reserved.
7 * This software is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at http://subversion.tigris.org/license-1.html.
10 * If newer versions of this license are posted there, you may use a
11 * newer version instead, at your option.
13 * This software consists of voluntary contributions made by many
14 * individuals. For exact contribution history, see the revision
15 * history and logs, available at http://subversion.tigris.org/.
16 * ====================================================================
19 #ifndef SVN_LIBSVN_SUBR_WIN32_XLATE_H
20 #define SVN_LIBSVN_SUBR_WIN32_XLATE_H
24 /* Opaque translation buffer. */
25 typedef struct win32_xlate_t win32_xlate_t
;
27 /* Set *XLATE_P to a handle node for converting from FROMPAGE to TOPAGE.
28 Returns APR_EINVAL or APR_ENOTIMPL, if a conversion isn't supported.
29 If fail for any other reason, return the error.
31 Allocate *RET in POOL. */
32 apr_status_t
svn_subr__win32_xlate_open(win32_xlate_t
**xlate_p
,
37 /* Convert SRC_LENGTH bytes of SRC_DATA in NODE->handle, store the result
38 in *DEST, which is allocated in POOL. */
39 apr_status_t
svn_subr__win32_xlate_to_stringbuf(win32_xlate_t
*handle
,
41 apr_size_t src_length
,
42 svn_stringbuf_t
**dest
,
47 #endif /* SVN_LIBSVN_SUBR_WIN32_XLATE_H */