OSDN Git Service

Success build TortoiseMerge.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseMerge / libsvn_diff / deprecated.c
1 /*\r
2  * deprecated.c:  holding file for all deprecated APIs.\r
3  *                "we can't lose 'em, but we can shun 'em!"\r
4  *\r
5  * ====================================================================\r
6  * Copyright (c) 2000-2008 CollabNet.  All rights reserved.\r
7  *\r
8  * This software is licensed as described in the file COPYING, which\r
9  * you should have received as part of this distribution.  The terms\r
10  * are also available at http://subversion.tigris.org/license-1.html.\r
11  * If newer versions of this license are posted there, you may use a\r
12  * newer version instead, at your option.\r
13  *\r
14  * This software consists of voluntary contributions made by many\r
15  * individuals.  For exact contribution history, see the revision\r
16  * history and logs, available at http://subversion.tigris.org/.\r
17  * ====================================================================\r
18  */\r
19 \r
20 /* ==================================================================== */\r
21 \r
22 \r
23 \f\r
24 /*** Includes. ***/\r
25 \r
26 /* We define this here to remove any further warnings about the usage of\r
27    deprecated functions in this file. */\r
28 #define SVN_DEPRECATED\r
29 \r
30 #include "svn_error.h"\r
31 #include "svn_version.h"\r
32 #include "svn_io.h"\r
33 \r
34 #include "svn_diff.h"\r
35 #include "svn_utf.h"\r
36 \r
37 #include "svn_private_config.h"\r
38 \r
39 \r
40 \r
41 \f\r
42 /*** Code. ***/\r
43 \r
44 /*** From diff_file.c ***/\r
45 svn_error_t *\r
46 svn_diff_file_output_unified2(svn_stream_t *output_stream,\r
47                               svn_diff_t *diff,\r
48                               const char *original_path,\r
49                               const char *modified_path,\r
50                               const char *original_header,\r
51                               const char *modified_header,\r
52                               const char *header_encoding,\r
53                               apr_pool_t *pool)\r
54 {\r
55   return svn_diff_file_output_unified3(output_stream, diff,\r
56                                        original_path, modified_path,\r
57                                        original_header, modified_header,\r
58                                        header_encoding, NULL, FALSE, pool);\r
59 }\r
60 \r
61 svn_error_t *\r
62 svn_diff_file_output_unified(svn_stream_t *output_stream,\r
63                              svn_diff_t *diff,\r
64                              const char *original_path,\r
65                              const char *modified_path,\r
66                              const char *original_header,\r
67                              const char *modified_header,\r
68                              apr_pool_t *pool)\r
69 {\r
70   return svn_diff_file_output_unified2(output_stream, diff,\r
71                                        original_path, modified_path,\r
72                                        original_header, modified_header,\r
73                                        SVN_APR_LOCALE_CHARSET, pool);\r
74 }\r