GME  13
svn_client.h
Go to the documentation of this file.
00001 
00031 #ifndef SVN_CLIENT_H
00032 #define SVN_CLIENT_H
00033 
00034 #include <apr.h>
00035 #include <apr_pools.h>
00036 #include <apr_hash.h>
00037 #include <apr_tables.h>
00038 #include <apr_getopt.h>
00039 #include <apr_file_io.h>
00040 #include <apr_time.h>
00041 
00042 #include "svn_types.h"
00043 #include "svn_string.h"
00044 #include "svn_wc.h"
00045 #include "svn_opt.h"
00046 #include "svn_ra.h"
00047 #include "svn_diff.h"
00048 #include "svn_auth.h"
00049 
00050 #ifdef __cplusplus
00051 extern "C" {
00052 #endif /* __cplusplus */
00053 
00054 
00055 
00061 const svn_version_t *
00062 svn_client_version(void);
00063 
00071 
00072 /*** Authentication stuff ***/
00073 
00101 SVN_DEPRECATED
00102 void
00103 svn_client_get_simple_prompt_provider(
00104   svn_auth_provider_object_t **provider,
00105   svn_auth_simple_prompt_func_t prompt_func,
00106   void *prompt_baton,
00107   int retry_limit,
00108   apr_pool_t *pool);
00109 
00110 
00126 SVN_DEPRECATED
00127 void
00128 svn_client_get_username_prompt_provider(
00129   svn_auth_provider_object_t **provider,
00130   svn_auth_username_prompt_func_t prompt_func,
00131   void *prompt_baton,
00132   int retry_limit,
00133   apr_pool_t *pool);
00134 
00135 
00149 SVN_DEPRECATED
00150 void
00151 svn_client_get_simple_provider(svn_auth_provider_object_t **provider,
00152                                apr_pool_t *pool);
00153 
00154 
00155 #if (defined(WIN32) && !defined(__MINGW32__)) || defined(DOXYGEN) || defined(CTYPESGEN) || defined(SWIG)
00156 
00178 SVN_DEPRECATED
00179 void
00180 svn_client_get_windows_simple_provider(svn_auth_provider_object_t **provider,
00181                                        apr_pool_t *pool);
00182 #endif /* WIN32 && !__MINGW32__ || DOXYGEN || CTYPESGEN || SWIG */
00183 
00196 SVN_DEPRECATED
00197 void
00198 svn_client_get_username_provider(svn_auth_provider_object_t **provider,
00199                                  apr_pool_t *pool);
00200 
00201 
00212 SVN_DEPRECATED
00213 void
00214 svn_client_get_ssl_server_trust_file_provider(
00215   svn_auth_provider_object_t **provider,
00216   apr_pool_t *pool);
00217 
00218 
00229 SVN_DEPRECATED
00230 void
00231 svn_client_get_ssl_client_cert_file_provider(
00232   svn_auth_provider_object_t **provider,
00233   apr_pool_t *pool);
00234 
00235 
00246 SVN_DEPRECATED
00247 void
00248 svn_client_get_ssl_client_cert_pw_file_provider(
00249   svn_auth_provider_object_t **provider,
00250   apr_pool_t *pool);
00251 
00252 
00263 SVN_DEPRECATED
00264 void
00265 svn_client_get_ssl_server_trust_prompt_provider(
00266   svn_auth_provider_object_t **provider,
00267   svn_auth_ssl_server_trust_prompt_func_t prompt_func,
00268   void *prompt_baton,
00269   apr_pool_t *pool);
00270 
00271 
00284 SVN_DEPRECATED
00285 void
00286 svn_client_get_ssl_client_cert_prompt_provider(
00287   svn_auth_provider_object_t **provider,
00288   svn_auth_ssl_client_cert_prompt_func_t prompt_func,
00289   void *prompt_baton,
00290   int retry_limit,
00291   apr_pool_t *pool);
00292 
00293 
00306 SVN_DEPRECATED
00307 void
00308 svn_client_get_ssl_client_cert_pw_prompt_provider(
00309   svn_auth_provider_object_t **provider,
00310   svn_auth_ssl_client_cert_pw_prompt_func_t prompt_func,
00311   void *prompt_baton,
00312   int retry_limit,
00313   apr_pool_t *pool);
00314 
00346 typedef struct svn_client_proplist_item_t
00347 {
00349   svn_stringbuf_t *node_name;
00350 
00353   apr_hash_t *prop_hash;
00354 
00355 } svn_client_proplist_item_t;
00356 
00378 typedef svn_error_t *(*svn_proplist_receiver2_t)(
00379   void *baton,
00380   const char *path,
00381   apr_hash_t *prop_hash,
00382   apr_array_header_t *inherited_props,
00383   apr_pool_t *scratch_pool);
00384 
00393 typedef svn_error_t *(*svn_proplist_receiver_t)(
00394   void *baton,
00395   const char *path,
00396   apr_hash_t *prop_hash,
00397   apr_pool_t *pool);
00398 
00407 SVN_DEPRECATED
00408 svn_client_proplist_item_t *
00409 svn_client_proplist_item_dup(const svn_client_proplist_item_t *item,
00410                              apr_pool_t *pool);
00411 
00416 typedef struct svn_client_commit_info_t
00417 {
00419   svn_revnum_t revision;
00420 
00422   const char *date;
00423 
00425   const char *author;
00426 
00427 } svn_client_commit_info_t;
00428 
00429 
00437 #define SVN_CLIENT_COMMIT_ITEM_ADD         0x01
00438 #define SVN_CLIENT_COMMIT_ITEM_DELETE      0x02
00439 #define SVN_CLIENT_COMMIT_ITEM_TEXT_MODS   0x04
00440 #define SVN_CLIENT_COMMIT_ITEM_PROP_MODS   0x08
00441 #define SVN_CLIENT_COMMIT_ITEM_IS_COPY     0x10
00442 
00443 #define SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN  0x20
00444 
00445 #define SVN_CLIENT_COMMIT_ITEM_MOVED_HERE  0x40
00446 
00456 typedef struct svn_client_commit_item3_t
00457 {
00458   /* IMPORTANT: If you extend this structure, add new fields to the end. */
00459 
00461   const char *path;
00462 
00464   svn_node_kind_t kind;
00465 
00467   const char *url;
00468 
00470   svn_revnum_t revision;
00471 
00473   const char *copyfrom_url;
00474 
00476   svn_revnum_t copyfrom_rev;
00477 
00479   apr_byte_t state_flags;
00480 
00494   apr_array_header_t *incoming_prop_changes;
00495 
00505   apr_array_header_t *outgoing_prop_changes;
00506 
00512   const char *session_relpath;
00513 
00521   const char *moved_from_abspath;
00522 
00523 } svn_client_commit_item3_t;
00524 
00529 typedef struct svn_client_commit_item2_t
00530 {
00532   const char *path;
00533 
00535   svn_node_kind_t kind;
00536 
00538   const char *url;
00539 
00541   svn_revnum_t revision;
00542 
00544   const char *copyfrom_url;
00545 
00547   svn_revnum_t copyfrom_rev;
00548 
00550   apr_byte_t state_flags;
00551 
00555   apr_array_header_t *wcprop_changes;
00556 } svn_client_commit_item2_t;
00557 
00562 typedef struct svn_client_commit_item_t
00563 {
00565   const char *path;
00566 
00568   svn_node_kind_t kind;
00569 
00571   const char *url;
00572 
00574   svn_revnum_t revision;
00575 
00577   const char *copyfrom_url;
00578 
00580   apr_byte_t state_flags;
00581 
00585   apr_array_header_t *wcprop_changes;
00586 
00587 } svn_client_commit_item_t;
00588 
00598 svn_client_commit_item3_t *
00599 svn_client_commit_item3_create(apr_pool_t *pool);
00600 
00607 SVN_DEPRECATED
00608 svn_error_t *
00609 svn_client_commit_item_create(const svn_client_commit_item3_t **item,
00610                               apr_pool_t *pool);
00611 
00619 svn_client_commit_item3_t *
00620 svn_client_commit_item3_dup(const svn_client_commit_item3_t *item,
00621                             apr_pool_t *pool);
00622 
00629 SVN_DEPRECATED
00630 svn_client_commit_item2_t *
00631 svn_client_commit_item2_dup(const svn_client_commit_item2_t *item,
00632                             apr_pool_t *pool);
00633 
00654 typedef svn_error_t *(*svn_client_get_commit_log3_t)(
00655   const char **log_msg,
00656   const char **tmp_file,
00657   const apr_array_header_t *commit_items,
00658   void *baton,
00659   apr_pool_t *pool);
00660 
00681 typedef svn_error_t *(*svn_client_get_commit_log2_t)(
00682   const char **log_msg,
00683   const char **tmp_file,
00684   const apr_array_header_t *commit_items,
00685   void *baton,
00686   apr_pool_t *pool);
00687 
00708 typedef svn_error_t *(*svn_client_get_commit_log_t)(
00709   const char **log_msg,
00710   const char **tmp_file,
00711   apr_array_header_t *commit_items,
00712   void *baton,
00713   apr_pool_t *pool);
00714 
00749 typedef svn_error_t *(*svn_client_blame_receiver3_t)(
00750   void *baton,
00751   svn_revnum_t start_revnum,
00752   svn_revnum_t end_revnum,
00753   apr_int64_t line_no,
00754   svn_revnum_t revision,
00755   apr_hash_t *rev_props,
00756   svn_revnum_t merged_revision,
00757   apr_hash_t *merged_rev_props,
00758   const char *merged_path,
00759   const char *line,
00760   svn_boolean_t local_change,
00761   apr_pool_t *pool);
00762 
00772 typedef svn_error_t *(*svn_client_blame_receiver2_t)(
00773   void *baton,
00774   apr_int64_t line_no,
00775   svn_revnum_t revision,
00776   const char *author,
00777   const char *date,
00778   svn_revnum_t merged_revision,
00779   const char *merged_author,
00780   const char *merged_date,
00781   const char *merged_path,
00782   const char *line,
00783   apr_pool_t *pool);
00784 
00796 typedef svn_error_t *(*svn_client_blame_receiver_t)(
00797   void *baton,
00798   apr_int64_t line_no,
00799   svn_revnum_t revision,
00800   const char *author,
00801   const char *date,
00802   const char *line,
00803   apr_pool_t *pool);
00804 
00805 
00819 typedef enum svn_client_diff_summarize_kind_t
00820 {
00822   svn_client_diff_summarize_kind_normal,
00823 
00825   svn_client_diff_summarize_kind_added,
00826 
00828   svn_client_diff_summarize_kind_modified,
00829 
00831   svn_client_diff_summarize_kind_deleted
00832 } svn_client_diff_summarize_kind_t;
00833 
00834 
00844 typedef struct svn_client_diff_summarize_t
00845 {
00848   const char *path;
00849 
00851   svn_client_diff_summarize_kind_t summarize_kind;
00852 
00855   svn_boolean_t prop_changed;
00856 
00858   svn_node_kind_t node_kind;
00859 } svn_client_diff_summarize_t;
00860 
00867 svn_client_diff_summarize_t *
00868 svn_client_diff_summarize_dup(const svn_client_diff_summarize_t *diff,
00869                               apr_pool_t *pool);
00870 
00871 
00882 typedef svn_error_t *(*svn_client_diff_summarize_func_t)(
00883   const svn_client_diff_summarize_t *diff,
00884   void *baton,
00885   apr_pool_t *pool);
00886 
00887 
00888 
00906 typedef struct svn_client_ctx_t
00907 {
00909   svn_auth_baton_t *auth_baton;
00910 
00915   svn_wc_notify_func_t notify_func;
00916 
00920   void *notify_baton;
00921 
00926   svn_client_get_commit_log_t log_msg_func;
00927 
00931   void *log_msg_baton;
00932 
00938   apr_hash_t *config;
00939 
00942   svn_cancel_func_t cancel_func;
00943 
00945   void *cancel_baton;
00946 
00950   svn_wc_notify_func2_t notify_func2;
00951 
00954   void *notify_baton2;
00955 
00959   svn_client_get_commit_log2_t log_msg_func2;
00960 
00963   void *log_msg_baton2;
00964 
00968   svn_ra_progress_notify_func_t progress_func;
00969 
00972   void *progress_baton;
00973 
00977   svn_client_get_commit_log3_t log_msg_func3;
00978 
00981   void *log_msg_baton3;
00982 
00985   apr_hash_t *mimetypes_map;
00986 
00989   svn_wc_conflict_resolver_func_t conflict_func;
00990   void *conflict_baton;
00991 
00994   const char *client_name;
00995 
00999   svn_wc_conflict_resolver_func2_t conflict_func2;
01000   void *conflict_baton2;
01001 
01007   svn_wc_context_t *wc_ctx;
01008 
01009 } svn_client_ctx_t;
01010 
01028 svn_error_t *
01029 svn_client_create_context2(svn_client_ctx_t **ctx,
01030                            apr_hash_t *cfg_hash,
01031                            apr_pool_t *pool);
01032 
01033 
01038 SVN_DEPRECATED
01039 svn_error_t *
01040 svn_client_create_context(svn_client_ctx_t **ctx,
01041                           apr_pool_t *pool);
01042 
01057 #define SVN_CLIENT_AUTH_USERNAME            "username"
01058 #define SVN_CLIENT_AUTH_PASSWORD            "password"
01059 
01097 svn_error_t *
01098 svn_client_args_to_target_array2(apr_array_header_t **targets_p,
01099                                  apr_getopt_t *os,
01100                                  const apr_array_header_t *known_targets,
01101                                  svn_client_ctx_t *ctx,
01102                                  svn_boolean_t keep_last_origpath_on_truepath_collision,
01103                                  apr_pool_t *pool);
01104 
01111 SVN_DEPRECATED
01112 svn_error_t *
01113 svn_client_args_to_target_array(apr_array_header_t **targets_p,
01114                                 apr_getopt_t *os,
01115                                 const apr_array_header_t *known_targets,
01116                                 svn_client_ctx_t *ctx,
01117                                 apr_pool_t *pool);
01118 
01122 
01181 svn_error_t *
01182 svn_client_checkout3(svn_revnum_t *result_rev,
01183                      const char *URL,
01184                      const char *path,
01185                      const svn_opt_revision_t *peg_revision,
01186                      const svn_opt_revision_t *revision,
01187                      svn_depth_t depth,
01188                      svn_boolean_t ignore_externals,
01189                      svn_boolean_t allow_unver_obstructions,
01190                      svn_client_ctx_t *ctx,
01191                      apr_pool_t *pool);
01192 
01193 
01202 SVN_DEPRECATED
01203 svn_error_t *
01204 svn_client_checkout2(svn_revnum_t *result_rev,
01205                      const char *URL,
01206                      const char *path,
01207                      const svn_opt_revision_t *peg_revision,
01208                      const svn_opt_revision_t *revision,
01209                      svn_boolean_t recurse,
01210                      svn_boolean_t ignore_externals,
01211                      svn_client_ctx_t *ctx,
01212                      apr_pool_t *pool);
01213 
01214 
01222 SVN_DEPRECATED
01223 svn_error_t *
01224 svn_client_checkout(svn_revnum_t *result_rev,
01225                     const char *URL,
01226                     const char *path,
01227                     const svn_opt_revision_t *revision,
01228                     svn_boolean_t recurse,
01229                     svn_client_ctx_t *ctx,
01230                     apr_pool_t *pool);
01312 svn_error_t *
01313 svn_client_update4(apr_array_header_t **result_revs,
01314                    const apr_array_header_t *paths,
01315                    const svn_opt_revision_t *revision,
01316                    svn_depth_t depth,
01317                    svn_boolean_t depth_is_sticky,
01318                    svn_boolean_t ignore_externals,
01319                    svn_boolean_t allow_unver_obstructions,
01320                    svn_boolean_t adds_as_modification,
01321                    svn_boolean_t make_parents,
01322                    svn_client_ctx_t *ctx,
01323                    apr_pool_t *pool);
01324 
01332 SVN_DEPRECATED
01333 svn_error_t *
01334 svn_client_update3(apr_array_header_t **result_revs,
01335                    const apr_array_header_t *paths,
01336                    const svn_opt_revision_t *revision,
01337                    svn_depth_t depth,
01338                    svn_boolean_t depth_is_sticky,
01339                    svn_boolean_t ignore_externals,
01340                    svn_boolean_t allow_unver_obstructions,
01341                    svn_client_ctx_t *ctx,
01342                    apr_pool_t *pool);
01343 
01353 SVN_DEPRECATED
01354 svn_error_t *
01355 svn_client_update2(apr_array_header_t **result_revs,
01356                    const apr_array_header_t *paths,
01357                    const svn_opt_revision_t *revision,
01358                    svn_boolean_t recurse,
01359                    svn_boolean_t ignore_externals,
01360                    svn_client_ctx_t *ctx,
01361                    apr_pool_t *pool);
01362 
01370 SVN_DEPRECATED
01371 svn_error_t *
01372 svn_client_update(svn_revnum_t *result_rev,
01373                   const char *path,
01374                   const svn_opt_revision_t *revision,
01375                   svn_boolean_t recurse,
01376                   svn_client_ctx_t *ctx,
01377                   apr_pool_t *pool);
01449 svn_error_t *
01450 svn_client_switch3(svn_revnum_t *result_rev,
01451                    const char *path,
01452                    const char *url,
01453                    const svn_opt_revision_t *peg_revision,
01454                    const svn_opt_revision_t *revision,
01455                    svn_depth_t depth,
01456                    svn_boolean_t depth_is_sticky,
01457                    svn_boolean_t ignore_externals,
01458                    svn_boolean_t allow_unver_obstructions,
01459                    svn_boolean_t ignore_ancestry,
01460                    svn_client_ctx_t *ctx,
01461                    apr_pool_t *pool);
01462 
01463 
01471 SVN_DEPRECATED
01472 svn_error_t *
01473 svn_client_switch2(svn_revnum_t *result_rev,
01474                    const char *path,
01475                    const char *url,
01476                    const svn_opt_revision_t *peg_revision,
01477                    const svn_opt_revision_t *revision,
01478                    svn_depth_t depth,
01479                    svn_boolean_t depth_is_sticky,
01480                    svn_boolean_t ignore_externals,
01481                    svn_boolean_t allow_unver_obstructions,
01482                    svn_client_ctx_t *ctx,
01483                    apr_pool_t *pool);
01484 
01485 
01495 SVN_DEPRECATED
01496 svn_error_t *
01497 svn_client_switch(svn_revnum_t *result_rev,
01498                   const char *path,
01499                   const char *url,
01500                   const svn_opt_revision_t *revision,
01501                   svn_boolean_t recurse,
01502                   svn_client_ctx_t *ctx,
01503                   apr_pool_t *pool);
01504 
01566 svn_error_t *
01567 svn_client_add5(const char *path,
01568                 svn_depth_t depth,
01569                 svn_boolean_t force,
01570                 svn_boolean_t no_ignore,
01571                 svn_boolean_t no_autoprops,
01572                 svn_boolean_t add_parents,
01573                 svn_client_ctx_t *ctx,
01574                 apr_pool_t *scratch_pool);
01575 
01582 SVN_DEPRECATED
01583 svn_error_t *
01584 svn_client_add4(const char *path,
01585                 svn_depth_t depth,
01586                 svn_boolean_t force,
01587                 svn_boolean_t no_ignore,
01588                 svn_boolean_t add_parents,
01589                 svn_client_ctx_t *ctx,
01590                 apr_pool_t *pool);
01591 
01599 SVN_DEPRECATED
01600 svn_error_t *
01601 svn_client_add3(const char *path,
01602                 svn_boolean_t recursive,
01603                 svn_boolean_t force,
01604                 svn_boolean_t no_ignore,
01605                 svn_client_ctx_t *ctx,
01606                 apr_pool_t *pool);
01607 
01614 SVN_DEPRECATED
01615 svn_error_t *
01616 svn_client_add2(const char *path,
01617                 svn_boolean_t recursive,
01618                 svn_boolean_t force,
01619                 svn_client_ctx_t *ctx,
01620                 apr_pool_t *pool);
01621 
01627 SVN_DEPRECATED
01628 svn_error_t *
01629 svn_client_add(const char *path,
01630                svn_boolean_t recursive,
01631                svn_client_ctx_t *ctx,
01632                apr_pool_t *pool);
01633 
01679 svn_error_t *
01680 svn_client_mkdir4(const apr_array_header_t *paths,
01681                   svn_boolean_t make_parents,
01682                   const apr_hash_t *revprop_table,
01683                   svn_commit_callback2_t commit_callback,
01684                   void *commit_baton,
01685                   svn_client_ctx_t *ctx,
01686                   apr_pool_t *pool);
01687 
01695 SVN_DEPRECATED
01696 svn_error_t *
01697 svn_client_mkdir3(svn_commit_info_t **commit_info_p,
01698                   const apr_array_header_t *paths,
01699                   svn_boolean_t make_parents,
01700                   const apr_hash_t *revprop_table,
01701                   svn_client_ctx_t *ctx,
01702                   apr_pool_t *pool);
01703 
01704 
01712 SVN_DEPRECATED
01713 svn_error_t *
01714 svn_client_mkdir2(svn_commit_info_t **commit_info_p,
01715                   const apr_array_header_t *paths,
01716                   svn_client_ctx_t *ctx,
01717                   apr_pool_t *pool);
01718 
01725 SVN_DEPRECATED
01726 svn_error_t *
01727 svn_client_mkdir(svn_client_commit_info_t **commit_info_p,
01728                  const apr_array_header_t *paths,
01729                  svn_client_ctx_t *ctx,
01730                  apr_pool_t *pool);
01731 
01787 svn_error_t *
01788 svn_client_delete4(const apr_array_header_t *paths,
01789                    svn_boolean_t force,
01790                    svn_boolean_t keep_local,
01791                    const apr_hash_t *revprop_table,
01792                    svn_commit_callback2_t commit_callback,
01793                    void *commit_baton,
01794                    svn_client_ctx_t *ctx,
01795                    apr_pool_t *pool);
01796 
01804 SVN_DEPRECATED
01805 svn_error_t *
01806 svn_client_delete3(svn_commit_info_t **commit_info_p,
01807                    const apr_array_header_t *paths,
01808                    svn_boolean_t force,
01809                    svn_boolean_t keep_local,
01810                    const apr_hash_t *revprop_table,
01811                    svn_client_ctx_t *ctx,
01812                    apr_pool_t *pool);
01813 
01820 SVN_DEPRECATED
01821 svn_error_t *
01822 svn_client_delete2(svn_commit_info_t **commit_info_p,
01823                    const apr_array_header_t *paths,
01824                    svn_boolean_t force,
01825                    svn_client_ctx_t *ctx,
01826                    apr_pool_t *pool);
01827 
01834 SVN_DEPRECATED
01835 svn_error_t *
01836 svn_client_delete(svn_client_commit_info_t **commit_info_p,
01837                   const apr_array_header_t *paths,
01838                   svn_boolean_t force,
01839                   svn_client_ctx_t *ctx,
01840                   apr_pool_t *pool);
01841 
01842 
01869 typedef svn_error_t *(*svn_client_import_filter_func_t)(
01870   void *baton,
01871   svn_boolean_t *filtered,
01872   const char *local_abspath,
01873   const svn_io_dirent2_t *dirent,
01874   apr_pool_t *scratch_pool);
01875 
01948 svn_error_t *
01949 svn_client_import5(const char *path,
01950                    const char *url,
01951                    svn_depth_t depth,
01952                    svn_boolean_t no_ignore,
01953                    svn_boolean_t no_autoprops,
01954                    svn_boolean_t ignore_unknown_node_types,
01955                    const apr_hash_t *revprop_table,
01956                    svn_client_import_filter_func_t filter_callback,
01957                    void *filter_baton,
01958                    svn_commit_callback2_t commit_callback,
01959                    void *commit_baton,
01960                    svn_client_ctx_t *ctx,
01961                    apr_pool_t *scratch_pool);
01962 
01970 SVN_DEPRECATED
01971 svn_error_t *
01972 svn_client_import4(const char *path,
01973                    const char *url,
01974                    svn_depth_t depth,
01975                    svn_boolean_t no_ignore,
01976                    svn_boolean_t ignore_unknown_node_types,
01977                    const apr_hash_t *revprop_table,
01978                    svn_commit_callback2_t commit_callback,
01979                    void *commit_baton,
01980                    svn_client_ctx_t *ctx,
01981                    apr_pool_t *pool);
01982 
01990 SVN_DEPRECATED
01991 svn_error_t *
01992 svn_client_import3(svn_commit_info_t **commit_info_p,
01993                    const char *path,
01994                    const char *url,
01995                    svn_depth_t depth,
01996                    svn_boolean_t no_ignore,
01997                    svn_boolean_t ignore_unknown_node_types,
01998                    const apr_hash_t *revprop_table,
01999                    svn_client_ctx_t *ctx,
02000                    apr_pool_t *pool);
02001 
02012 SVN_DEPRECATED
02013 svn_error_t *
02014 svn_client_import2(svn_commit_info_t **commit_info_p,
02015                    const char *path,
02016                    const char *url,
02017                    svn_boolean_t nonrecursive,
02018                    svn_boolean_t no_ignore,
02019                    svn_client_ctx_t *ctx,
02020                    apr_pool_t *pool);
02021 
02029 SVN_DEPRECATED
02030 svn_error_t *
02031 svn_client_import(svn_client_commit_info_t **commit_info_p,
02032                   const char *path,
02033                   const char *url,
02034                   svn_boolean_t nonrecursive,
02035                   svn_client_ctx_t *ctx,
02036                   apr_pool_t *pool);
02037 
02127 svn_error_t *
02128 svn_client_commit6(const apr_array_header_t *targets,
02129                    svn_depth_t depth,
02130                    svn_boolean_t keep_locks,
02131                    svn_boolean_t keep_changelists,
02132                    svn_boolean_t commit_as_operations,
02133                    svn_boolean_t include_file_externals,
02134                    svn_boolean_t include_dir_externals,
02135                    const apr_array_header_t *changelists,
02136                    const apr_hash_t *revprop_table,
02137                    svn_commit_callback2_t commit_callback,
02138                    void *commit_baton,
02139                    svn_client_ctx_t *ctx,
02140                    apr_pool_t *pool);
02141 
02149 SVN_DEPRECATED
02150 svn_error_t *
02151 svn_client_commit5(const apr_array_header_t *targets,
02152                    svn_depth_t depth,
02153                    svn_boolean_t keep_locks,
02154                    svn_boolean_t keep_changelists,
02155                    svn_boolean_t commit_as_operations,
02156                    const apr_array_header_t *changelists,
02157                    const apr_hash_t *revprop_table,
02158                    svn_commit_callback2_t commit_callback,
02159                    void *commit_baton,
02160                    svn_client_ctx_t *ctx,
02161                    apr_pool_t *pool);
02162 
02179 SVN_DEPRECATED
02180 svn_error_t *
02181 svn_client_commit4(svn_commit_info_t **commit_info_p,
02182                    const apr_array_header_t *targets,
02183                    svn_depth_t depth,
02184                    svn_boolean_t keep_locks,
02185                    svn_boolean_t keep_changelists,
02186                    const apr_array_header_t *changelists,
02187                    const apr_hash_t *revprop_table,
02188                    svn_client_ctx_t *ctx,
02189                    apr_pool_t *pool);
02190 
02201 SVN_DEPRECATED
02202 svn_error_t *
02203 svn_client_commit3(svn_commit_info_t **commit_info_p,
02204                    const apr_array_header_t *targets,
02205                    svn_boolean_t recurse,
02206                    svn_boolean_t keep_locks,
02207                    svn_client_ctx_t *ctx,
02208                    apr_pool_t *pool);
02209 
02218 SVN_DEPRECATED
02219 svn_error_t *
02220 svn_client_commit2(svn_client_commit_info_t **commit_info_p,
02221                    const apr_array_header_t *targets,
02222                    svn_boolean_t recurse,
02223                    svn_boolean_t keep_locks,
02224                    svn_client_ctx_t *ctx,
02225                    apr_pool_t *pool);
02226 
02233 SVN_DEPRECATED
02234 svn_error_t *
02235 svn_client_commit(svn_client_commit_info_t **commit_info_p,
02236                   const apr_array_header_t *targets,
02237                   svn_boolean_t nonrecursive,
02238                   svn_client_ctx_t *ctx,
02239                   apr_pool_t *pool);
02240 
02259 typedef struct svn_client_status_t
02260 {
02262   svn_node_kind_t kind;
02263 
02265   const char *local_abspath;
02266 
02269   svn_filesize_t filesize;
02270 
02273   svn_boolean_t versioned;
02274 
02276   svn_boolean_t conflicted;
02277 
02280   enum svn_wc_status_kind node_status;
02281 
02285   enum svn_wc_status_kind text_status;
02286 
02290   enum svn_wc_status_kind prop_status;
02291 
02294   svn_boolean_t wc_is_locked;
02295 
02299   svn_boolean_t copied;
02300 
02302   const char *repos_root_url;
02303 
02305   const char *repos_uuid;
02306 
02308   const char *repos_relpath;
02309 
02311   svn_revnum_t revision;
02312 
02314   svn_revnum_t changed_rev;
02315 
02317   apr_time_t changed_date;
02318 
02320   const char *changed_author;
02321 
02325   svn_boolean_t switched;
02326 
02331   svn_boolean_t file_external;
02332 
02335   const svn_lock_t *lock;
02336 
02338   const char *changelist;
02339 
02342   svn_depth_t depth;
02343 
02357   svn_node_kind_t ood_kind;
02358 
02361   enum svn_wc_status_kind repos_node_status;
02362 
02364   enum svn_wc_status_kind repos_text_status;
02365 
02367   enum svn_wc_status_kind repos_prop_status;
02368 
02370   const svn_lock_t *repos_lock;
02371 
02374   svn_revnum_t ood_changed_rev;
02375 
02377   apr_time_t ood_changed_date;
02378 
02384   const char *ood_changed_author;
02385 
02391   const void *backwards_compatibility_baton;
02392 
02402   const char *moved_from_abspath;
02403 
02424   const char *moved_to_abspath;
02425 
02426   /* NOTE! Please update svn_client_status_dup() when adding new fields here. */
02427 } svn_client_status_t;
02428 
02435 svn_client_status_t *
02436 svn_client_status_dup(const svn_client_status_t *status,
02437                       apr_pool_t *result_pool);
02438 
02450 typedef svn_error_t *(*svn_client_status_func_t)(
02451                                             void *baton,
02452                                             const char *path,
02453                                             const svn_client_status_t *status,
02454                                             apr_pool_t *scratch_pool);
02455 
02504 svn_error_t *
02505 svn_client_status5(svn_revnum_t *result_rev,
02506                    svn_client_ctx_t *ctx,
02507                    const char *path,
02508                    const svn_opt_revision_t *revision,
02509                    svn_depth_t depth,
02510                    svn_boolean_t get_all,
02511                    svn_boolean_t update,
02512                    svn_boolean_t no_ignore,
02513                    svn_boolean_t ignore_externals,
02514                    svn_boolean_t depth_as_sticky,
02515                    const apr_array_header_t *changelists,
02516                    svn_client_status_func_t status_func,
02517                    void *status_baton,
02518                    apr_pool_t *scratch_pool);
02519 
02527 SVN_DEPRECATED
02528 svn_error_t *
02529 svn_client_status4(svn_revnum_t *result_rev,
02530                    const char *path,
02531                    const svn_opt_revision_t *revision,
02532                    svn_wc_status_func3_t status_func,
02533                    void *status_baton,
02534                    svn_depth_t depth,
02535                    svn_boolean_t get_all,
02536                    svn_boolean_t update,
02537                    svn_boolean_t no_ignore,
02538                    svn_boolean_t ignore_externals,
02539                    const apr_array_header_t *changelists,
02540                    svn_client_ctx_t *ctx,
02541                    apr_pool_t *pool);
02542 
02550 SVN_DEPRECATED
02551 svn_error_t *
02552 svn_client_status3(svn_revnum_t *result_rev,
02553                    const char *path,
02554                    const svn_opt_revision_t *revision,
02555                    svn_wc_status_func2_t status_func,
02556                    void *status_baton,
02557                    svn_depth_t depth,
02558                    svn_boolean_t get_all,
02559                    svn_boolean_t update,
02560                    svn_boolean_t no_ignore,
02561                    svn_boolean_t ignore_externals,
02562                    const apr_array_header_t *changelists,
02563                    svn_client_ctx_t *ctx,
02564                    apr_pool_t *pool);
02565 
02575 SVN_DEPRECATED
02576 svn_error_t *
02577 svn_client_status2(svn_revnum_t *result_rev,
02578                    const char *path,
02579                    const svn_opt_revision_t *revision,
02580                    svn_wc_status_func2_t status_func,
02581                    void *status_baton,
02582                    svn_boolean_t recurse,
02583                    svn_boolean_t get_all,
02584                    svn_boolean_t update,
02585                    svn_boolean_t no_ignore,
02586                    svn_boolean_t ignore_externals,
02587                    svn_client_ctx_t *ctx,
02588                    apr_pool_t *pool);
02589 
02590 
02600 SVN_DEPRECATED
02601 svn_error_t *
02602 svn_client_status(svn_revnum_t *result_rev,
02603                   const char *path,
02604                   svn_opt_revision_t *revision,
02605                   svn_wc_status_func_t status_func,
02606                   void *status_baton,
02607                   svn_boolean_t recurse,
02608                   svn_boolean_t get_all,
02609                   svn_boolean_t update,
02610                   svn_boolean_t no_ignore,
02611                   svn_client_ctx_t *ctx,
02612                   apr_pool_t *pool);
02613 
02662 svn_error_t *
02663 svn_client_log5(const apr_array_header_t *targets,
02664                 const svn_opt_revision_t *peg_revision,
02665                 const apr_array_header_t *revision_ranges,
02666                 int limit,
02667                 svn_boolean_t discover_changed_paths,
02668                 svn_boolean_t strict_node_history,
02669                 svn_boolean_t include_merged_revisions,
02670                 const apr_array_header_t *revprops,
02671                 svn_log_entry_receiver_t receiver,
02672                 void *receiver_baton,
02673                 svn_client_ctx_t *ctx,
02674                 apr_pool_t *pool);
02675 
02683 SVN_DEPRECATED
02684 svn_error_t *
02685 svn_client_log4(const apr_array_header_t *targets,
02686                 const svn_opt_revision_t *peg_revision,
02687                 const svn_opt_revision_t *start,
02688                 const svn_opt_revision_t *end,
02689                 int limit,
02690                 svn_boolean_t discover_changed_paths,
02691                 svn_boolean_t strict_node_history,
02692                 svn_boolean_t include_merged_revisions,
02693                 const apr_array_header_t *revprops,
02694                 svn_log_entry_receiver_t receiver,
02695                 void *receiver_baton,
02696                 svn_client_ctx_t *ctx,
02697                 apr_pool_t *pool);
02698 
02708 SVN_DEPRECATED
02709 svn_error_t *
02710 svn_client_log3(const apr_array_header_t *targets,
02711                 const svn_opt_revision_t *peg_revision,
02712                 const svn_opt_revision_t *start,
02713                 const svn_opt_revision_t *end,
02714                 int limit,
02715                 svn_boolean_t discover_changed_paths,
02716                 svn_boolean_t strict_node_history,
02717                 svn_log_message_receiver_t receiver,
02718                 void *receiver_baton,
02719                 svn_client_ctx_t *ctx,
02720                 apr_pool_t *pool);
02721 
02722 
02737 SVN_DEPRECATED
02738 svn_error_t *
02739 svn_client_log2(const apr_array_header_t *targets,
02740                 const svn_opt_revision_t *start,
02741                 const svn_opt_revision_t *end,
02742                 int limit,
02743                 svn_boolean_t discover_changed_paths,
02744                 svn_boolean_t strict_node_history,
02745                 svn_log_message_receiver_t receiver,
02746                 void *receiver_baton,
02747                 svn_client_ctx_t *ctx,
02748                 apr_pool_t *pool);
02749 
02750 
02771 SVN_DEPRECATED
02772 svn_error_t *
02773 svn_client_log(const apr_array_header_t *targets,
02774                const svn_opt_revision_t *start,
02775                const svn_opt_revision_t *end,
02776                svn_boolean_t discover_changed_paths,
02777                svn_boolean_t strict_node_history,
02778                svn_log_message_receiver_t receiver,
02779                void *receiver_baton,
02780                svn_client_ctx_t *ctx,
02781                apr_pool_t *pool);
02782 
02819 svn_error_t *
02820 svn_client_blame5(const char *path_or_url,
02821                   const svn_opt_revision_t *peg_revision,
02822                   const svn_opt_revision_t *start,
02823                   const svn_opt_revision_t *end,
02824                   const svn_diff_file_options_t *diff_options,
02825                   svn_boolean_t ignore_mime_type,
02826                   svn_boolean_t include_merged_revisions,
02827                   svn_client_blame_receiver3_t receiver,
02828                   void *receiver_baton,
02829                   svn_client_ctx_t *ctx,
02830                   apr_pool_t *pool);
02831 
02832 
02841 SVN_DEPRECATED
02842 svn_error_t *
02843 svn_client_blame4(const char *path_or_url,
02844                   const svn_opt_revision_t *peg_revision,
02845                   const svn_opt_revision_t *start,
02846                   const svn_opt_revision_t *end,
02847                   const svn_diff_file_options_t *diff_options,
02848                   svn_boolean_t ignore_mime_type,
02849                   svn_boolean_t include_merged_revisions,
02850                   svn_client_blame_receiver2_t receiver,
02851                   void *receiver_baton,
02852                   svn_client_ctx_t *ctx,
02853                   apr_pool_t *pool);
02854 
02863 SVN_DEPRECATED
02864 svn_error_t *
02865 svn_client_blame3(const char *path_or_url,
02866                   const svn_opt_revision_t *peg_revision,
02867                   const svn_opt_revision_t *start,
02868                   const svn_opt_revision_t *end,
02869                   const svn_diff_file_options_t *diff_options,
02870                   svn_boolean_t ignore_mime_type,
02871                   svn_client_blame_receiver_t receiver,
02872                   void *receiver_baton,
02873                   svn_client_ctx_t *ctx,
02874                   apr_pool_t *pool);
02875 
02885 SVN_DEPRECATED
02886 svn_error_t *
02887 svn_client_blame2(const char *path_or_url,
02888                   const svn_opt_revision_t *peg_revision,
02889                   const svn_opt_revision_t *start,
02890                   const svn_opt_revision_t *end,
02891                   svn_client_blame_receiver_t receiver,
02892                   void *receiver_baton,
02893                   svn_client_ctx_t *ctx,
02894                   apr_pool_t *pool);
02895 
02902 SVN_DEPRECATED
02903 svn_error_t *
02904 svn_client_blame(const char *path_or_url,
02905                  const svn_opt_revision_t *start,
02906                  const svn_opt_revision_t *end,
02907                  svn_client_blame_receiver_t receiver,
02908                  void *receiver_baton,
02909                  svn_client_ctx_t *ctx,
02910                  apr_pool_t *pool);
02911 
03013 svn_error_t *
03014 svn_client_diff6(const apr_array_header_t *diff_options,
03015                  const char *path_or_url1,
03016                  const svn_opt_revision_t *revision1,
03017                  const char *path_or_url2,
03018                  const svn_opt_revision_t *revision2,
03019                  const char *relative_to_dir,
03020                  svn_depth_t depth,
03021                  svn_boolean_t ignore_ancestry,
03022                  svn_boolean_t no_diff_added,
03023                  svn_boolean_t no_diff_deleted,
03024                  svn_boolean_t show_copies_as_adds,
03025                  svn_boolean_t ignore_content_type,
03026                  svn_boolean_t ignore_properties,
03027                  svn_boolean_t properties_only,
03028                  svn_boolean_t use_git_diff_format,
03029                  const char *header_encoding,
03030                  svn_stream_t *outstream,
03031                  svn_stream_t *errstream,
03032                  const apr_array_header_t *changelists,
03033                  svn_client_ctx_t *ctx,
03034                  apr_pool_t *pool);
03035 
03045 SVN_DEPRECATED
03046 svn_error_t *
03047 svn_client_diff5(const apr_array_header_t *diff_options,
03048                  const char *path1,
03049                  const svn_opt_revision_t *revision1,
03050                  const char *path2,
03051                  const svn_opt_revision_t *revision2,
03052                  const char *relative_to_dir,
03053                  svn_depth_t depth,
03054                  svn_boolean_t ignore_ancestry,
03055                  svn_boolean_t no_diff_deleted,
03056                  svn_boolean_t show_copies_as_adds,
03057                  svn_boolean_t ignore_content_type,
03058                  svn_boolean_t use_git_diff_format,
03059                  const char *header_encoding,
03060                  apr_file_t *outfile,
03061                  apr_file_t *errfile,
03062                  const apr_array_header_t *changelists,
03063                  svn_client_ctx_t *ctx,
03064                  apr_pool_t *pool);
03065 
03073 SVN_DEPRECATED
03074 svn_error_t *
03075 svn_client_diff4(const apr_array_header_t *diff_options,
03076                  const char *path1,
03077                  const svn_opt_revision_t *revision1,
03078                  const char *path2,
03079                  const svn_opt_revision_t *revision2,
03080                  const char *relative_to_dir,
03081                  svn_depth_t depth,
03082                  svn_boolean_t ignore_ancestry,
03083                  svn_boolean_t no_diff_deleted,
03084                  svn_boolean_t ignore_content_type,
03085                  const char *header_encoding,
03086                  apr_file_t *outfile,
03087                  apr_file_t *errfile,
03088                  const apr_array_header_t *changelists,
03089                  svn_client_ctx_t *ctx,
03090                  apr_pool_t *pool);
03091 
03101 SVN_DEPRECATED
03102 svn_error_t *
03103 svn_client_diff3(const apr_array_header_t *diff_options,
03104                  const char *path1,
03105                  const svn_opt_revision_t *revision1,
03106                  const char *path2,
03107                  const svn_opt_revision_t *revision2,
03108                  svn_boolean_t recurse,
03109                  svn_boolean_t ignore_ancestry,
03110                  svn_boolean_t no_diff_deleted,
03111                  svn_boolean_t ignore_content_type,
03112                  const char *header_encoding,
03113                  apr_file_t *outfile,
03114                  apr_file_t *errfile,
03115                  svn_client_ctx_t *ctx,
03116                  apr_pool_t *pool);
03117 
03118 
03126 SVN_DEPRECATED
03127 svn_error_t *
03128 svn_client_diff2(const apr_array_header_t *diff_options,
03129                  const char *path1,
03130                  const svn_opt_revision_t *revision1,
03131                  const char *path2,
03132                  const svn_opt_revision_t *revision2,
03133                  svn_boolean_t recurse,
03134                  svn_boolean_t ignore_ancestry,
03135                  svn_boolean_t no_diff_deleted,
03136                  svn_boolean_t ignore_content_type,
03137                  apr_file_t *outfile,
03138                  apr_file_t *errfile,
03139                  svn_client_ctx_t *ctx,
03140                  apr_pool_t *pool);
03141 
03148 SVN_DEPRECATED
03149 svn_error_t *
03150 svn_client_diff(const apr_array_header_t *diff_options,
03151                 const char *path1,
03152                 const svn_opt_revision_t *revision1,
03153                 const char *path2,
03154                 const svn_opt_revision_t *revision2,
03155                 svn_boolean_t recurse,
03156                 svn_boolean_t ignore_ancestry,
03157                 svn_boolean_t no_diff_deleted,
03158                 apr_file_t *outfile,
03159                 apr_file_t *errfile,
03160                 svn_client_ctx_t *ctx,
03161                 apr_pool_t *pool);
03162 
03177 svn_error_t *
03178 svn_client_diff_peg6(const apr_array_header_t *diff_options,
03179                      const char *path_or_url,
03180                      const svn_opt_revision_t *peg_revision,
03181                      const svn_opt_revision_t *start_revision,
03182                      const svn_opt_revision_t *end_revision,
03183                      const char *relative_to_dir,
03184                      svn_depth_t depth,
03185                      svn_boolean_t ignore_ancestry,
03186                      svn_boolean_t no_diff_added,
03187                      svn_boolean_t no_diff_deleted,
03188                      svn_boolean_t show_copies_as_adds,
03189                      svn_boolean_t ignore_content_type,
03190                      svn_boolean_t ignore_properties,
03191                      svn_boolean_t properties_only,
03192                      svn_boolean_t use_git_diff_format,
03193                      const char *header_encoding,
03194                      svn_stream_t *outstream,
03195                      svn_stream_t *errstream,
03196                      const apr_array_header_t *changelists,
03197                      svn_client_ctx_t *ctx,
03198                      apr_pool_t *pool);
03199 
03209 SVN_DEPRECATED
03210 svn_error_t *
03211 svn_client_diff_peg5(const apr_array_header_t *diff_options,
03212                      const char *path,
03213                      const svn_opt_revision_t *peg_revision,
03214                      const svn_opt_revision_t *start_revision,
03215                      const svn_opt_revision_t *end_revision,
03216                      const char *relative_to_dir,
03217                      svn_depth_t depth,
03218                      svn_boolean_t ignore_ancestry,
03219                      svn_boolean_t no_diff_deleted,
03220                      svn_boolean_t show_copies_as_adds,
03221                      svn_boolean_t ignore_content_type,
03222                      svn_boolean_t use_git_diff_format,
03223                      const char *header_encoding,
03224                      apr_file_t *outfile,
03225                      apr_file_t *errfile,
03226                      const apr_array_header_t *changelists,
03227                      svn_client_ctx_t *ctx,
03228                      apr_pool_t *pool);
03229 
03237 SVN_DEPRECATED
03238 svn_error_t *
03239 svn_client_diff_peg4(const apr_array_header_t *diff_options,
03240                      const char *path,
03241                      const svn_opt_revision_t *peg_revision,
03242                      const svn_opt_revision_t *start_revision,
03243                      const svn_opt_revision_t *end_revision,
03244                      const char *relative_to_dir,
03245                      svn_depth_t depth,
03246                      svn_boolean_t ignore_ancestry,
03247                      svn_boolean_t no_diff_deleted,
03248                      svn_boolean_t ignore_content_type,
03249                      const char *header_encoding,
03250                      apr_file_t *outfile,
03251                      apr_file_t *errfile,
03252                      const apr_array_header_t *changelists,
03253                      svn_client_ctx_t *ctx,
03254                      apr_pool_t *pool);
03255 
03265 SVN_DEPRECATED
03266 svn_error_t *
03267 svn_client_diff_peg3(const apr_array_header_t *diff_options,
03268                      const char *path,
03269                      const svn_opt_revision_t *peg_revision,
03270                      const svn_opt_revision_t *start_revision,
03271                      const svn_opt_revision_t *end_revision,
03272                      svn_boolean_t recurse,
03273                      svn_boolean_t ignore_ancestry,
03274                      svn_boolean_t no_diff_deleted,
03275                      svn_boolean_t ignore_content_type,
03276                      const char *header_encoding,
03277                      apr_file_t *outfile,
03278                      apr_file_t *errfile,
03279                      svn_client_ctx_t *ctx,
03280                      apr_pool_t *pool);
03281 
03289 SVN_DEPRECATED
03290 svn_error_t *
03291 svn_client_diff_peg2(const apr_array_header_t *diff_options,
03292                      const char *path,
03293                      const svn_opt_revision_t *peg_revision,
03294                      const svn_opt_revision_t *start_revision,
03295                      const svn_opt_revision_t *end_revision,
03296                      svn_boolean_t recurse,
03297                      svn_boolean_t ignore_ancestry,
03298                      svn_boolean_t no_diff_deleted,
03299                      svn_boolean_t ignore_content_type,
03300                      apr_file_t *outfile,
03301                      apr_file_t *errfile,
03302                      svn_client_ctx_t *ctx,
03303                      apr_pool_t *pool);
03304 
03312 SVN_DEPRECATED
03313 svn_error_t *
03314 svn_client_diff_peg(const apr_array_header_t *diff_options,
03315                     const char *path,
03316                     const svn_opt_revision_t *peg_revision,
03317                     const svn_opt_revision_t *start_revision,
03318                     const svn_opt_revision_t *end_revision,
03319                     svn_boolean_t recurse,
03320                     svn_boolean_t ignore_ancestry,
03321                     svn_boolean_t no_diff_deleted,
03322                     apr_file_t *outfile,
03323                     apr_file_t *errfile,
03324                     svn_client_ctx_t *ctx,
03325                     apr_pool_t *pool);
03326 
03344 svn_error_t *
03345 svn_client_diff_summarize2(const char *path_or_url1,
03346                            const svn_opt_revision_t *revision1,
03347                            const char *path_or_url2,
03348                            const svn_opt_revision_t *revision2,
03349                            svn_depth_t depth,
03350                            svn_boolean_t ignore_ancestry,
03351                            const apr_array_header_t *changelists,
03352                            svn_client_diff_summarize_func_t summarize_func,
03353                            void *summarize_baton,
03354                            svn_client_ctx_t *ctx,
03355                            apr_pool_t *pool);
03356 
03367 SVN_DEPRECATED
03368 svn_error_t *
03369 svn_client_diff_summarize(const char *path1,
03370                           const svn_opt_revision_t *revision1,
03371                           const char *path2,
03372                           const svn_opt_revision_t *revision2,
03373                           svn_boolean_t recurse,
03374                           svn_boolean_t ignore_ancestry,
03375                           svn_client_diff_summarize_func_t summarize_func,
03376                           void *summarize_baton,
03377                           svn_client_ctx_t *ctx,
03378                           apr_pool_t *pool);
03379 
03400 svn_error_t *
03401 svn_client_diff_summarize_peg2(const char *path_or_url,
03402                                const svn_opt_revision_t *peg_revision,
03403                                const svn_opt_revision_t *start_revision,
03404                                const svn_opt_revision_t *end_revision,
03405                                svn_depth_t depth,
03406                                svn_boolean_t ignore_ancestry,
03407                                const apr_array_header_t *changelists,
03408                                svn_client_diff_summarize_func_t summarize_func,
03409                                void *summarize_baton,
03410                                svn_client_ctx_t *ctx,
03411                                apr_pool_t *pool);
03412 
03424 SVN_DEPRECATED
03425 svn_error_t *
03426 svn_client_diff_summarize_peg(const char *path,
03427                               const svn_opt_revision_t *peg_revision,
03428                               const svn_opt_revision_t *start_revision,
03429                               const svn_opt_revision_t *end_revision,
03430                               svn_boolean_t recurse,
03431                               svn_boolean_t ignore_ancestry,
03432                               svn_client_diff_summarize_func_t summarize_func,
03433                               void *summarize_baton,
03434                               svn_client_ctx_t *ctx,
03435                               apr_pool_t *pool);
03436 
03469 svn_error_t *
03470 svn_client_get_merging_summary(svn_boolean_t *needs_reintegration,
03471                                const char **yca_url, svn_revnum_t *yca_rev,
03472                                const char **base_url, svn_revnum_t *base_rev,
03473                                const char **right_url, svn_revnum_t *right_rev,
03474                                const char **target_url, svn_revnum_t *target_rev,
03475                                const char **repos_root_url,
03476                                const char *source_path_or_url,
03477                                const svn_opt_revision_t *source_revision,
03478                                const char *target_path_or_url,
03479                                const svn_opt_revision_t *target_revision,
03480                                svn_client_ctx_t *ctx,
03481                                apr_pool_t *result_pool,
03482                                apr_pool_t *scratch_pool);
03483 
03484 
03552 svn_error_t *
03553 svn_client_merge5(const char *source1,
03554                   const svn_opt_revision_t *revision1,
03555                   const char *source2,
03556                   const svn_opt_revision_t *revision2,
03557                   const char *target_wcpath,
03558                   svn_depth_t depth,
03559                   svn_boolean_t ignore_mergeinfo,
03560                   svn_boolean_t diff_ignore_ancestry,
03561                   svn_boolean_t force_delete,
03562                   svn_boolean_t record_only,
03563                   svn_boolean_t dry_run,
03564                   svn_boolean_t allow_mixed_rev,
03565                   const apr_array_header_t *merge_options,
03566                   svn_client_ctx_t *ctx,
03567                   apr_pool_t *pool);
03568 
03576 SVN_DEPRECATED
03577 svn_error_t *
03578 svn_client_merge4(const char *source1,
03579                   const svn_opt_revision_t *revision1,
03580                   const char *source2,
03581                   const svn_opt_revision_t *revision2,
03582                   const char *target_wcpath,
03583                   svn_depth_t depth,
03584                   svn_boolean_t ignore_ancestry,
03585                   svn_boolean_t force_delete,
03586                   svn_boolean_t record_only,
03587                   svn_boolean_t dry_run,
03588                   svn_boolean_t allow_mixed_rev,
03589                   const apr_array_header_t *merge_options,
03590                   svn_client_ctx_t *ctx,
03591                   apr_pool_t *pool);
03592 
03602 SVN_DEPRECATED
03603 svn_error_t *
03604 svn_client_merge3(const char *source1,
03605                   const svn_opt_revision_t *revision1,
03606                   const char *source2,
03607                   const svn_opt_revision_t *revision2,
03608                   const char *target_wcpath,
03609                   svn_depth_t depth,
03610                   svn_boolean_t ignore_ancestry,
03611                   svn_boolean_t force,
03612                   svn_boolean_t record_only,
03613                   svn_boolean_t dry_run,
03614                   const apr_array_header_t *merge_options,
03615                   svn_client_ctx_t *ctx,
03616                   apr_pool_t *pool);
03617 
03628 SVN_DEPRECATED
03629 svn_error_t *
03630 svn_client_merge2(const char *source1,
03631                   const svn_opt_revision_t *revision1,
03632                   const char *source2,
03633                   const svn_opt_revision_t *revision2,
03634                   const char *target_wcpath,
03635                   svn_boolean_t recurse,
03636                   svn_boolean_t ignore_ancestry,
03637                   svn_boolean_t force,
03638                   svn_boolean_t dry_run,
03639                   const apr_array_header_t *merge_options,
03640                   svn_client_ctx_t *ctx,
03641                   apr_pool_t *pool);
03642 
03643 
03649 SVN_DEPRECATED
03650 svn_error_t *
03651 svn_client_merge(const char *source1,
03652                  const svn_opt_revision_t *revision1,
03653                  const char *source2,
03654                  const svn_opt_revision_t *revision2,
03655                  const char *target_wcpath,
03656                  svn_boolean_t recurse,
03657                  svn_boolean_t ignore_ancestry,
03658                  svn_boolean_t force,
03659                  svn_boolean_t dry_run,
03660                  svn_client_ctx_t *ctx,
03661                  apr_pool_t *pool);
03662 
03663 
03680 SVN_DEPRECATED
03681 svn_error_t *
03682 svn_client_merge_reintegrate(const char *source_path_or_url,
03683                              const svn_opt_revision_t *source_peg_revision,
03684                              const char *target_wcpath,
03685                              svn_boolean_t dry_run,
03686                              const apr_array_header_t *merge_options,
03687                              svn_client_ctx_t *ctx,
03688                              apr_pool_t *pool);
03689 
03720 svn_error_t *
03721 svn_client_merge_peg5(const char *source_path_or_url,
03722                       const apr_array_header_t *ranges_to_merge,
03723                       const svn_opt_revision_t *source_peg_revision,
03724                       const char *target_wcpath,
03725                       svn_depth_t depth,
03726                       svn_boolean_t ignore_mergeinfo,
03727                       svn_boolean_t diff_ignore_ancestry,
03728                       svn_boolean_t force_delete,
03729                       svn_boolean_t record_only,
03730                       svn_boolean_t dry_run,
03731                       svn_boolean_t allow_mixed_rev,
03732                       const apr_array_header_t *merge_options,
03733                       svn_client_ctx_t *ctx,
03734                       apr_pool_t *pool);
03735 
03744 SVN_DEPRECATED
03745 svn_error_t *
03746 svn_client_merge_peg4(const char *source_path_or_url,
03747                       const apr_array_header_t *ranges_to_merge,
03748                       const svn_opt_revision_t *source_peg_revision,
03749                       const char *target_wcpath,
03750                       svn_depth_t depth,
03751                       svn_boolean_t ignore_ancestry,
03752                       svn_boolean_t force_delete,
03753                       svn_boolean_t record_only,
03754                       svn_boolean_t dry_run,
03755                       svn_boolean_t allow_mixed_rev,
03756                       const apr_array_header_t *merge_options,
03757                       svn_client_ctx_t *ctx,
03758                       apr_pool_t *pool);
03759 
03769 SVN_DEPRECATED
03770 svn_error_t *
03771 svn_client_merge_peg3(const char *source,
03772                       const apr_array_header_t *ranges_to_merge,
03773                       const svn_opt_revision_t *peg_revision,
03774                       const char *target_wcpath,
03775                       svn_depth_t depth,
03776                       svn_boolean_t ignore_ancestry,
03777                       svn_boolean_t force,
03778                       svn_boolean_t record_only,
03779                       svn_boolean_t dry_run,
03780                       const apr_array_header_t *merge_options,
03781                       svn_client_ctx_t *ctx,
03782                       apr_pool_t *pool);
03783 
03794 SVN_DEPRECATED
03795 svn_error_t *
03796 svn_client_merge_peg2(const char *source,
03797                       const svn_opt_revision_t *revision1,
03798                       const svn_opt_revision_t *revision2,
03799                       const svn_opt_revision_t *peg_revision,
03800                       const char *target_wcpath,
03801                       svn_boolean_t recurse,
03802                       svn_boolean_t ignore_ancestry,
03803                       svn_boolean_t force,
03804                       svn_boolean_t dry_run,
03805                       const apr_array_header_t *merge_options,
03806                       svn_client_ctx_t *ctx,
03807                       apr_pool_t *pool);
03808 
03817 SVN_DEPRECATED
03818 svn_error_t *
03819 svn_client_merge_peg(const char *source,
03820                      const svn_opt_revision_t *revision1,
03821                      const svn_opt_revision_t *revision2,
03822                      const svn_opt_revision_t *peg_revision,
03823                      const char *target_wcpath,
03824                      svn_boolean_t recurse,
03825                      svn_boolean_t ignore_ancestry,
03826                      svn_boolean_t force,
03827                      svn_boolean_t dry_run,
03828                      svn_client_ctx_t *ctx,
03829                      apr_pool_t *pool);
03830 
03831 
03841 svn_error_t *
03842 svn_client_suggest_merge_sources(apr_array_header_t **suggestions,
03843                                  const char *path_or_url,
03844                                  const svn_opt_revision_t *peg_revision,
03845                                  svn_client_ctx_t *ctx,
03846                                  apr_pool_t *pool);
03847 
03848 
03871 svn_error_t *
03872 svn_client_mergeinfo_get_merged(apr_hash_t **mergeinfo,
03873                                 const char *path_or_url,
03874                                 const svn_opt_revision_t *peg_revision,
03875                                 svn_client_ctx_t *ctx,
03876                                 apr_pool_t *pool);
03877 
03878 
03924 svn_error_t *
03925 svn_client_mergeinfo_log2(svn_boolean_t finding_merged,
03926                           const char *target_path_or_url,
03927                           const svn_opt_revision_t *target_peg_revision,
03928                           const char *source_path_or_url,
03929                           const svn_opt_revision_t *source_peg_revision,
03930                           const svn_opt_revision_t *source_start_revision,
03931                           const svn_opt_revision_t *source_end_revision,
03932                           svn_log_entry_receiver_t receiver,
03933                           void *receiver_baton,
03934                           svn_boolean_t discover_changed_paths,
03935                           svn_depth_t depth,
03936                           const apr_array_header_t *revprops,
03937                           svn_client_ctx_t *ctx,
03938                           apr_pool_t *scratch_pool);
03939 
03947 SVN_DEPRECATED
03948 svn_error_t *
03949 svn_client_mergeinfo_log(svn_boolean_t finding_merged,
03950                          const char *target_path_or_url,
03951                          const svn_opt_revision_t *target_peg_revision,
03952                          const char *source_path_or_url,
03953                          const svn_opt_revision_t *source_peg_revision,
03954                          svn_log_entry_receiver_t receiver,
03955                          void *receiver_baton,
03956                          svn_boolean_t discover_changed_paths,
03957                          svn_depth_t depth,
03958                          const apr_array_header_t *revprops,
03959                          svn_client_ctx_t *ctx,
03960                          apr_pool_t *scratch_pool);
03961 
03970 SVN_DEPRECATED
03971 svn_error_t *
03972 svn_client_mergeinfo_log_merged(const char *path_or_url,
03973                                 const svn_opt_revision_t *peg_revision,
03974                                 const char *merge_source_path_or_url,
03975                                 const svn_opt_revision_t *src_peg_revision,
03976                                 svn_log_entry_receiver_t receiver,
03977                                 void *receiver_baton,
03978                                 svn_boolean_t discover_changed_paths,
03979                                 const apr_array_header_t *revprops,
03980                                 svn_client_ctx_t *ctx,
03981                                 apr_pool_t *pool);
03982 
03991 SVN_DEPRECATED
03992 svn_error_t *
03993 svn_client_mergeinfo_log_eligible(const char *path_or_url,
03994                                   const svn_opt_revision_t *peg_revision,
03995                                   const char *merge_source_path_or_url,
03996                                   const svn_opt_revision_t *src_peg_revision,
03997                                   svn_log_entry_receiver_t receiver,
03998                                   void *receiver_baton,
03999                                   svn_boolean_t discover_changed_paths,
04000                                   const apr_array_header_t *revprops,
04001                                   svn_client_ctx_t *ctx,
04002                                   apr_pool_t *pool);
04003 
04022 svn_error_t *
04023 svn_client_cleanup(const char *dir,
04024                    svn_client_ctx_t *ctx,
04025                    apr_pool_t *scratch_pool);
04026 
04027 
04043 svn_error_t *
04044 svn_client_upgrade(const char *wcroot_dir,
04045                    svn_client_ctx_t *ctx,
04046                    apr_pool_t *scratch_pool);
04047 
04048 
04072 svn_error_t *
04073 svn_client_relocate2(const char *wcroot_dir,
04074                      const char *from_prefix,
04075                      const char *to_prefix,
04076                      svn_boolean_t ignore_externals,
04077                      svn_client_ctx_t *ctx,
04078                      apr_pool_t *pool);
04079 
04090 SVN_DEPRECATED
04091 svn_error_t *
04092 svn_client_relocate(const char *dir,
04093                     const char *from_prefix,
04094                     const char *to_prefix,
04095                     svn_boolean_t recurse,
04096                     svn_client_ctx_t *ctx,
04097                     apr_pool_t *pool);
04098 
04138 svn_error_t *
04139 svn_client_revert2(const apr_array_header_t *paths,
04140                    svn_depth_t depth,
04141                    const apr_array_header_t *changelists,
04142                    svn_client_ctx_t *ctx,
04143                    apr_pool_t *pool);
04144 
04145 
04157 SVN_DEPRECATED
04158 svn_error_t *
04159 svn_client_revert(const apr_array_header_t *paths,
04160                   svn_boolean_t recursive,
04161                   svn_client_ctx_t *ctx,
04162                   apr_pool_t *pool);
04163 
04164 
04181 SVN_DEPRECATED
04182 svn_error_t *
04183 svn_client_resolved(const char *path,
04184                     svn_boolean_t recursive,
04185                     svn_client_ctx_t *ctx,
04186                     apr_pool_t *pool);
04187 
04237 svn_error_t *
04238 svn_client_resolve(const char *path,
04239                    svn_depth_t depth,
04240                    svn_wc_conflict_choice_t conflict_choice,
04241                    svn_client_ctx_t *ctx,
04242                    apr_pool_t *pool);
04243 
04244 
04259 typedef struct svn_client_copy_source_t
04260 {
04262     const char *path;
04263 
04265     const svn_opt_revision_t *revision;
04266 
04268     const svn_opt_revision_t *peg_revision;
04269 } svn_client_copy_source_t;
04270 
04331 svn_error_t *
04332 svn_client_copy6(const apr_array_header_t *sources,
04333                  const char *dst_path,
04334                  svn_boolean_t copy_as_child,
04335                  svn_boolean_t make_parents,
04336                  svn_boolean_t ignore_externals,
04337                  const apr_hash_t *revprop_table,
04338                  svn_commit_callback2_t commit_callback,
04339                  void *commit_baton,
04340                  svn_client_ctx_t *ctx,
04341                  apr_pool_t *pool);
04342 
04350 SVN_DEPRECATED
04351 svn_error_t *
04352 svn_client_copy5(svn_commit_info_t **commit_info_p,
04353                  const apr_array_header_t *sources,
04354                  const char *dst_path,
04355                  svn_boolean_t copy_as_child,
04356                  svn_boolean_t make_parents,
04357                  svn_boolean_t ignore_externals,
04358                  const apr_hash_t *revprop_table,
04359                  svn_client_ctx_t *ctx,
04360                  apr_pool_t *pool);
04361 
04369 SVN_DEPRECATED
04370 svn_error_t *
04371 svn_client_copy4(svn_commit_info_t **commit_info_p,
04372                  const apr_array_header_t *sources,
04373                  const char *dst_path,
04374                  svn_boolean_t copy_as_child,
04375                  svn_boolean_t make_parents,
04376                  const apr_hash_t *revprop_table,
04377                  svn_client_ctx_t *ctx,
04378                  apr_pool_t *pool);
04379 
04390 SVN_DEPRECATED
04391 svn_error_t *
04392 svn_client_copy3(svn_commit_info_t **commit_info_p,
04393                  const char *src_path,
04394                  const svn_opt_revision_t *src_revision,
04395                  const char *dst_path,
04396                  svn_client_ctx_t *ctx,
04397                  apr_pool_t *pool);
04398 
04399 
04409 SVN_DEPRECATED
04410 svn_error_t *
04411 svn_client_copy2(svn_commit_info_t **commit_info_p,
04412                  const char *src_path,
04413                  const svn_opt_revision_t *src_revision,
04414                  const char *dst_path,
04415                  svn_client_ctx_t *ctx,
04416                  apr_pool_t *pool);
04417 
04418 
04425 SVN_DEPRECATED
04426 svn_error_t *
04427 svn_client_copy(svn_client_commit_info_t **commit_info_p,
04428                 const char *src_path,
04429                 const svn_opt_revision_t *src_revision,
04430                 const char *dst_path,
04431                 svn_client_ctx_t *ctx,
04432                 apr_pool_t *pool);
04433 
04434 
04527 svn_error_t *
04528 svn_client_move7(const apr_array_header_t *src_paths,
04529                  const char *dst_path,
04530                  svn_boolean_t move_as_child,
04531                  svn_boolean_t make_parents,
04532                  svn_boolean_t allow_mixed_revisions,
04533                  svn_boolean_t metadata_only,
04534                  const apr_hash_t *revprop_table,
04535                  svn_commit_callback2_t commit_callback,
04536                  void *commit_baton,
04537                  svn_client_ctx_t *ctx,
04538                  apr_pool_t *pool);
04539 
04547 SVN_DEPRECATED
04548 svn_error_t *
04549 svn_client_move6(const apr_array_header_t *src_paths,
04550                  const char *dst_path,
04551                  svn_boolean_t move_as_child,
04552                  svn_boolean_t make_parents,
04553                  const apr_hash_t *revprop_table,
04554                  svn_commit_callback2_t commit_callback,
04555                  void *commit_baton,
04556                  svn_client_ctx_t *ctx,
04557                  apr_pool_t *pool);
04558 
04569 SVN_DEPRECATED
04570 svn_error_t *
04571 svn_client_move5(svn_commit_info_t **commit_info_p,
04572                  const apr_array_header_t *src_paths,
04573                  const char *dst_path,
04574                  svn_boolean_t force,
04575                  svn_boolean_t move_as_child,
04576                  svn_boolean_t make_parents,
04577                  const apr_hash_t *revprop_table,
04578                  svn_client_ctx_t *ctx,
04579                  apr_pool_t *pool);
04580 
04595 SVN_DEPRECATED
04596 svn_error_t *
04597 svn_client_move4(svn_commit_info_t **commit_info_p,
04598                  const char *src_path,
04599                  const char *dst_path,
04600                  svn_boolean_t force,
04601                  svn_client_ctx_t *ctx,
04602                  apr_pool_t *pool);
04603 
04613 SVN_DEPRECATED
04614 svn_error_t *
04615 svn_client_move3(svn_commit_info_t **commit_info_p,
04616                  const char *src_path,
04617                  const char *dst_path,
04618                  svn_boolean_t force,
04619                  svn_client_ctx_t *ctx,
04620                  apr_pool_t *pool);
04621 
04630 SVN_DEPRECATED
04631 svn_error_t *
04632 svn_client_move2(svn_client_commit_info_t **commit_info_p,
04633                  const char *src_path,
04634                  const char *dst_path,
04635                  svn_boolean_t force,
04636                  svn_client_ctx_t *ctx,
04637                  apr_pool_t *pool);
04638 
04647 SVN_DEPRECATED
04648 svn_error_t *
04649 svn_client_move(svn_client_commit_info_t **commit_info_p,
04650                 const char *src_path,
04651                 const svn_opt_revision_t *src_revision,
04652                 const char *dst_path,
04653                 svn_boolean_t force,
04654                 svn_client_ctx_t *ctx,
04655                 apr_pool_t *pool);
04656 
04659 
04709 svn_error_t *
04710 svn_client_propset_remote(const char *propname,
04711                           const svn_string_t *propval,
04712                           const char *url,
04713                           svn_boolean_t skip_checks,
04714                           svn_revnum_t base_revision_for_url,
04715                           const apr_hash_t *revprop_table,
04716                           svn_commit_callback2_t commit_callback,
04717                           void *commit_baton,
04718                           svn_client_ctx_t *ctx,
04719                           apr_pool_t *scratch_pool);
04720 
04756 svn_error_t *
04757 svn_client_propset_local(const char *propname,
04758                          const svn_string_t *propval,
04759                          const apr_array_header_t *targets,
04760                          svn_depth_t depth,
04761                          svn_boolean_t skip_checks,
04762                          const apr_array_header_t *changelists,
04763                          svn_client_ctx_t *ctx,
04764                          apr_pool_t *scratch_pool);
04765 
04775 SVN_DEPRECATED
04776 svn_error_t *
04777 svn_client_propset3(svn_commit_info_t **commit_info_p,
04778                     const char *propname,
04779                     const svn_string_t *propval,
04780                     const char *target,
04781                     svn_depth_t depth,
04782                     svn_boolean_t skip_checks,
04783                     svn_revnum_t base_revision_for_url,
04784                     const apr_array_header_t *changelists,
04785                     const apr_hash_t *revprop_table,
04786                     svn_client_ctx_t *ctx,
04787                     apr_pool_t *pool);
04788 
04798 SVN_DEPRECATED
04799 svn_error_t *
04800 svn_client_propset2(const char *propname,
04801                     const svn_string_t *propval,
04802                     const char *target,
04803                     svn_boolean_t recurse,
04804                     svn_boolean_t skip_checks,
04805                     svn_client_ctx_t *ctx,
04806                     apr_pool_t *pool);
04807 
04814 SVN_DEPRECATED
04815 svn_error_t *
04816 svn_client_propset(const char *propname,
04817                    const svn_string_t *propval,
04818                    const char *target,
04819                    svn_boolean_t recurse,
04820                    apr_pool_t *pool);
04821 
04867 svn_error_t *
04868 svn_client_revprop_set2(const char *propname,
04869                         const svn_string_t *propval,
04870                         const svn_string_t *original_propval,
04871                         const char *URL,
04872                         const svn_opt_revision_t *revision,
04873                         svn_revnum_t *set_rev,
04874                         svn_boolean_t force,
04875                         svn_client_ctx_t *ctx,
04876                         apr_pool_t *pool);
04877 
04884 SVN_DEPRECATED
04885 svn_error_t *
04886 svn_client_revprop_set(const char *propname,
04887                        const svn_string_t *propval,
04888                        const char *URL,
04889                        const svn_opt_revision_t *revision,
04890                        svn_revnum_t *set_rev,
04891                        svn_boolean_t force,
04892                        svn_client_ctx_t *ctx,
04893                        apr_pool_t *pool);
04894 
04961 svn_error_t *
04962 svn_client_propget5(apr_hash_t **props,
04963                     apr_array_header_t **inherited_props,
04964                     const char *propname,
04965                     const char *target,  /* abspath or URL */
04966                     const svn_opt_revision_t *peg_revision,
04967                     const svn_opt_revision_t *revision,
04968                     svn_revnum_t *actual_revnum,
04969                     svn_depth_t depth,
04970                     const apr_array_header_t *changelists,
04971                     svn_client_ctx_t *ctx,
04972                     apr_pool_t *result_pool,
04973                     apr_pool_t *scratch_pool);
04974 
04982 SVN_DEPRECATED
04983 svn_error_t *
04984 svn_client_propget4(apr_hash_t **props,
04985                     const char *propname,
04986                     const char *target,  /* abspath or URL */
04987                     const svn_opt_revision_t *peg_revision,
04988                     const svn_opt_revision_t *revision,
04989                     svn_revnum_t *actual_revnum,
04990                     svn_depth_t depth,
04991                     const apr_array_header_t *changelists,
04992                     svn_client_ctx_t *ctx,
04993                     apr_pool_t *result_pool,
04994                     apr_pool_t *scratch_pool);
04995 
05007 SVN_DEPRECATED
05008 svn_error_t *
05009 svn_client_propget3(apr_hash_t **props,
05010                     const char *propname,
05011                     const char *target,
05012                     const svn_opt_revision_t *peg_revision,
05013                     const svn_opt_revision_t *revision,
05014                     svn_revnum_t *actual_revnum,
05015                     svn_depth_t depth,
05016                     const apr_array_header_t *changelists,
05017                     svn_client_ctx_t *ctx,
05018                     apr_pool_t *pool);
05019 
05028 SVN_DEPRECATED
05029 svn_error_t *
05030 svn_client_propget2(apr_hash_t **props,
05031                     const char *propname,
05032                     const char *target,
05033                     const svn_opt_revision_t *peg_revision,
05034                     const svn_opt_revision_t *revision,
05035                     svn_boolean_t recurse,
05036                     svn_client_ctx_t *ctx,
05037                     apr_pool_t *pool);
05038 
05045 SVN_DEPRECATED
05046 svn_error_t *
05047 svn_client_propget(apr_hash_t **props,
05048                    const char *propname,
05049                    const char *target,
05050                    const svn_opt_revision_t *revision,
05051                    svn_boolean_t recurse,
05052                    svn_client_ctx_t *ctx,
05053                    apr_pool_t *pool);
05054 
05066 svn_error_t *
05067 svn_client_revprop_get(const char *propname,
05068                        svn_string_t **propval,
05069                        const char *URL,
05070                        const svn_opt_revision_t *revision,
05071                        svn_revnum_t *set_rev,
05072                        svn_client_ctx_t *ctx,
05073                        apr_pool_t *pool);
05074 
05123 svn_error_t *
05124 svn_client_proplist4(const char *target,
05125                      const svn_opt_revision_t *peg_revision,
05126                      const svn_opt_revision_t *revision,
05127                      svn_depth_t depth,
05128                      const apr_array_header_t *changelists,
05129                      svn_boolean_t get_target_inherited_props,
05130                      svn_proplist_receiver2_t receiver,
05131                      void *receiver_baton,
05132                      svn_client_ctx_t *ctx,
05133                      apr_pool_t *scratch_pool);
05134 
05143 SVN_DEPRECATED
05144 svn_error_t *
05145 svn_client_proplist3(const char *target,
05146                      const svn_opt_revision_t *peg_revision,
05147                      const svn_opt_revision_t *revision,
05148                      svn_depth_t depth,
05149                      const apr_array_header_t *changelists,
05150                      svn_proplist_receiver_t receiver,
05151                      void *receiver_baton,
05152                      svn_client_ctx_t *ctx,
05153                      apr_pool_t *pool);
05154 
05167 SVN_DEPRECATED
05168 svn_error_t *
05169 svn_client_proplist2(apr_array_header_t **props,
05170                      const char *target,
05171                      const svn_opt_revision_t *peg_revision,
05172                      const svn_opt_revision_t *revision,
05173                      svn_boolean_t recurse,
05174                      svn_client_ctx_t *ctx,
05175                      apr_pool_t *pool);
05176 
05183 SVN_DEPRECATED
05184 svn_error_t *
05185 svn_client_proplist(apr_array_header_t **props,
05186                     const char *target,
05187                     const svn_opt_revision_t *revision,
05188                     svn_boolean_t recurse,
05189                     svn_client_ctx_t *ctx,
05190                     apr_pool_t *pool);
05191 
05204 svn_error_t *
05205 svn_client_revprop_list(apr_hash_t **props,
05206                         const char *URL,
05207                         const svn_opt_revision_t *revision,
05208                         svn_revnum_t *set_rev,
05209                         svn_client_ctx_t *ctx,
05210                         apr_pool_t *pool);
05212 
05213 
05281 svn_error_t *
05282 svn_client_export5(svn_revnum_t *result_rev,
05283                    const char *from_path_or_url,
05284                    const char *to_path,
05285                    const svn_opt_revision_t *peg_revision,
05286                    const svn_opt_revision_t *revision,
05287                    svn_boolean_t overwrite,
05288                    svn_boolean_t ignore_externals,
05289                    svn_boolean_t ignore_keywords,
05290                    svn_depth_t depth,
05291                    const char *native_eol,
05292                    svn_client_ctx_t *ctx,
05293                    apr_pool_t *pool);
05294 
05302 SVN_DEPRECATED
05303 svn_error_t *
05304 svn_client_export4(svn_revnum_t *result_rev,
05305                    const char *from_path_or_url,
05306                    const char *to_path,
05307                    const svn_opt_revision_t *peg_revision,
05308                    const svn_opt_revision_t *revision,
05309                    svn_boolean_t overwrite,
05310                    svn_boolean_t ignore_externals,
05311                    svn_depth_t depth,
05312                    const char *native_eol,
05313                    svn_client_ctx_t *ctx,
05314                    apr_pool_t *pool);
05315 
05316 
05327 SVN_DEPRECATED
05328 svn_error_t *
05329 svn_client_export3(svn_revnum_t *result_rev,
05330                    const char *from_path_or_url,
05331                    const char *to_path,
05332                    const svn_opt_revision_t *peg_revision,
05333                    const svn_opt_revision_t *revision,
05334                    svn_boolean_t overwrite,
05335                    svn_boolean_t ignore_externals,
05336                    svn_boolean_t recurse,
05337                    const char *native_eol,
05338                    svn_client_ctx_t *ctx,
05339                    apr_pool_t *pool);
05340 
05341 
05351 SVN_DEPRECATED
05352 svn_error_t *
05353 svn_client_export2(svn_revnum_t *result_rev,
05354                    const char *from_path_or_url,
05355                    const char *to_path,
05356                    svn_opt_revision_t *revision,
05357                    svn_boolean_t force,
05358                    const char *native_eol,
05359                    svn_client_ctx_t *ctx,
05360                    apr_pool_t *pool);
05361 
05362 
05369 SVN_DEPRECATED
05370 svn_error_t *
05371 svn_client_export(svn_revnum_t *result_rev,
05372                   const char *from_path_or_url,
05373                   const char *to_path,
05374                   svn_opt_revision_t *revision,
05375                   svn_boolean_t force,
05376                   svn_client_ctx_t *ctx,
05377                   apr_pool_t *pool);
05378 
05417 typedef svn_error_t *(*svn_client_list_func2_t)(
05418   void *baton,
05419   const char *path,
05420   const svn_dirent_t *dirent,
05421   const svn_lock_t *lock,
05422   const char *abs_path,
05423   const char *external_parent_url,
05424   const char *external_target,
05425   apr_pool_t *scratch_pool);
05426 
05436 typedef svn_error_t *(*svn_client_list_func_t)(void *baton,
05437                                                const char *path,
05438                                                const svn_dirent_t *dirent,
05439                                                const svn_lock_t *lock,
05440                                                const char *abs_path,
05441                                                apr_pool_t *pool);
05442 
05481 svn_error_t *
05482 svn_client_list3(const char *path_or_url,
05483                  const svn_opt_revision_t *peg_revision,
05484                  const svn_opt_revision_t *revision,
05485                  svn_depth_t depth,
05486                  apr_uint32_t dirent_fields,
05487                  svn_boolean_t fetch_locks,
05488                  svn_boolean_t include_externals,
05489                  svn_client_list_func2_t list_func,
05490                  void *baton,
05491                  svn_client_ctx_t *ctx,
05492                  apr_pool_t *pool);
05493 
05494 
05502 SVN_DEPRECATED
05503 svn_error_t *
05504 svn_client_list2(const char *path_or_url,
05505                  const svn_opt_revision_t *peg_revision,
05506                  const svn_opt_revision_t *revision,
05507                  svn_depth_t depth,
05508                  apr_uint32_t dirent_fields,
05509                  svn_boolean_t fetch_locks,
05510                  svn_client_list_func_t list_func,
05511                  void *baton,
05512                  svn_client_ctx_t *ctx,
05513                  apr_pool_t *pool);
05514 
05524 SVN_DEPRECATED
05525 svn_error_t *
05526 svn_client_list(const char *path_or_url,
05527                 const svn_opt_revision_t *peg_revision,
05528                 const svn_opt_revision_t *revision,
05529                 svn_boolean_t recurse,
05530                 apr_uint32_t dirent_fields,
05531                 svn_boolean_t fetch_locks,
05532                 svn_client_list_func_t list_func,
05533                 void *baton,
05534                 svn_client_ctx_t *ctx,
05535                 apr_pool_t *pool);
05536 
05554 SVN_DEPRECATED
05555 svn_error_t *
05556 svn_client_ls3(apr_hash_t **dirents,
05557                apr_hash_t **locks,
05558                const char *path_or_url,
05559                const svn_opt_revision_t *peg_revision,
05560                const svn_opt_revision_t *revision,
05561                svn_boolean_t recurse,
05562                svn_client_ctx_t *ctx,
05563                apr_pool_t *pool);
05564 
05573 SVN_DEPRECATED
05574 svn_error_t *
05575 svn_client_ls2(apr_hash_t **dirents,
05576                const char *path_or_url,
05577                const svn_opt_revision_t *peg_revision,
05578                const svn_opt_revision_t *revision,
05579                svn_boolean_t recurse,
05580                svn_client_ctx_t *ctx,
05581                apr_pool_t *pool);
05582 
05590 SVN_DEPRECATED
05591 svn_error_t *
05592 svn_client_ls(apr_hash_t **dirents,
05593               const char *path_or_url,
05594               svn_opt_revision_t *revision,
05595               svn_boolean_t recurse,
05596               svn_client_ctx_t *ctx,
05597               apr_pool_t *pool);
05598 
05599 
05634 svn_error_t *
05635 svn_client_cat2(svn_stream_t *out,
05636                 const char *path_or_url,
05637                 const svn_opt_revision_t *peg_revision,
05638                 const svn_opt_revision_t *revision,
05639                 svn_client_ctx_t *ctx,
05640                 apr_pool_t *pool);
05641 
05642 
05649 SVN_DEPRECATED
05650 svn_error_t *
05651 svn_client_cat(svn_stream_t *out,
05652                const char *path_or_url,
05653                const svn_opt_revision_t *revision,
05654                svn_client_ctx_t *ctx,
05655                apr_pool_t *pool);
05656 
05660 
05697 svn_error_t *
05698 svn_client_add_to_changelist(const apr_array_header_t *paths,
05699                              const char *changelist,
05700                              svn_depth_t depth,
05701                              const apr_array_header_t *changelists,
05702                              svn_client_ctx_t *ctx,
05703                              apr_pool_t *pool);
05704 
05724 svn_error_t *
05725 svn_client_remove_from_changelists(const apr_array_header_t *paths,
05726                                    svn_depth_t depth,
05727                                    const apr_array_header_t *changelists,
05728                                    svn_client_ctx_t *ctx,
05729                                    apr_pool_t *pool);
05730 
05731 
05747 svn_error_t *
05748 svn_client_get_changelists(const char *path,
05749                            const apr_array_header_t *changelists,
05750                            svn_depth_t depth,
05751                            svn_changelist_receiver_t callback_func,
05752                            void *callback_baton,
05753                            svn_client_ctx_t *ctx,
05754                            apr_pool_t *pool);
05755 
05759 
05789 svn_error_t *
05790 svn_client_lock(const apr_array_header_t *targets,
05791                 const char *comment,
05792                 svn_boolean_t steal_lock,
05793                 svn_client_ctx_t *ctx,
05794                 apr_pool_t *pool);
05795 
05825 svn_error_t *
05826 svn_client_unlock(const apr_array_header_t *targets,
05827                   svn_boolean_t break_lock,
05828                   svn_client_ctx_t *ctx,
05829                   apr_pool_t *pool);
05830 
05845 #define SVN_INFO_SIZE_UNKNOWN ((apr_size_t) -1)
05846 
05859 typedef struct svn_info_t
05860 {
05862   const char *URL;
05863 
05867   svn_revnum_t rev;
05868 
05870   svn_node_kind_t kind;
05871 
05873   const char *repos_root_URL;
05874 
05876   const char *repos_UUID;
05877 
05879   svn_revnum_t last_changed_rev;
05880 
05882   apr_time_t last_changed_date;
05883 
05885   const char *last_changed_author;
05886 
05888   svn_lock_t *lock;
05889 
05891   svn_boolean_t has_wc_info;
05892 
05899   svn_wc_schedule_t schedule;
05900   const char *copyfrom_url;
05901   svn_revnum_t copyfrom_rev;
05902   apr_time_t text_time;
05903   apr_time_t prop_time;  /* will always be 0 for svn 1.4 and later */
05904   const char *checksum;
05905   const char *conflict_old;
05906   const char *conflict_new;
05907   const char *conflict_wrk;
05908   const char *prejfile;
05910   const char *changelist;
05912   svn_depth_t depth;
05913 
05920   apr_size_t working_size;
05921 
05930   apr_size_t size;
05931 
05939   svn_filesize_t size64;
05940 
05949   svn_filesize_t working_size64;
05950 
05955   svn_wc_conflict_description_t *tree_conflict;
05956 
05959 } svn_info_t;
05960 
05961 
05972 typedef svn_error_t *(*svn_info_receiver_t)(
05973   void *baton,
05974   const char *path,
05975   const svn_info_t *info,
05976   apr_pool_t *pool);
05977 
05986 SVN_DEPRECATED
05987 svn_info_t *
05988 svn_info_dup(const svn_info_t *info,
05989              apr_pool_t *pool);
05990 
06001 typedef struct svn_client_info2_t
06002 {
06004   const char *URL;
06005 
06009   svn_revnum_t rev;
06010 
06012   const char *repos_root_URL;
06013 
06015   const char *repos_UUID;
06016 
06018   svn_node_kind_t kind;
06019 
06024   svn_filesize_t size;
06025 
06027   svn_revnum_t last_changed_rev;
06028 
06030   apr_time_t last_changed_date;
06031 
06033   const char *last_changed_author;
06034 
06036   const svn_lock_t *lock;
06037 
06039   const svn_wc_info_t *wc_info;
06040 
06041 } svn_client_info2_t;
06042 
06049 svn_client_info2_t *
06050 svn_client_info2_dup(const svn_client_info2_t *info,
06051                      apr_pool_t *pool);
06052 
06060 typedef svn_error_t *(*svn_client_info_receiver2_t)(
06061                          void *baton,
06062                          const char *abspath_or_url,
06063                          const svn_client_info2_t *info,
06064                          apr_pool_t *scratch_pool);
06065 
06113 svn_error_t *
06114 svn_client_info3(const char *abspath_or_url,
06115                  const svn_opt_revision_t *peg_revision,
06116                  const svn_opt_revision_t *revision,
06117                  svn_depth_t depth,
06118                  svn_boolean_t fetch_excluded,
06119                  svn_boolean_t fetch_actual_only,
06120                  const apr_array_header_t *changelists,
06121                  svn_client_info_receiver2_t receiver,
06122                  void *receiver_baton,
06123                  svn_client_ctx_t *ctx,
06124                  apr_pool_t *scratch_pool);
06125 
06132 SVN_DEPRECATED
06133 svn_error_t *
06134 svn_client_info2(const char *path_or_url,
06135                  const svn_opt_revision_t *peg_revision,
06136                  const svn_opt_revision_t *revision,
06137                  svn_info_receiver_t receiver,
06138                  void *receiver_baton,
06139                  svn_depth_t depth,
06140                  const apr_array_header_t *changelists,
06141                  svn_client_ctx_t *ctx,
06142                  apr_pool_t *pool);
06143 
06151 SVN_DEPRECATED
06152 svn_error_t *
06153 svn_client_info(const char *path_or_url,
06154                 const svn_opt_revision_t *peg_revision,
06155                 const svn_opt_revision_t *revision,
06156                 svn_info_receiver_t receiver,
06157                 void *receiver_baton,
06158                 svn_boolean_t recurse,
06159                 svn_client_ctx_t *ctx,
06160                 apr_pool_t *pool);
06161 
06168 svn_error_t *
06169 svn_client_get_wc_root(const char **wcroot_abspath,
06170                        const char *local_abspath,
06171                        svn_client_ctx_t *ctx,
06172                        apr_pool_t *result_pool,
06173                        apr_pool_t *scratch_pool);
06174 
06186 svn_error_t *
06187 svn_client_min_max_revisions(svn_revnum_t *min_revision,
06188                              svn_revnum_t *max_revision,
06189                              const char *local_abspath,
06190                              svn_boolean_t committed,
06191                              svn_client_ctx_t *ctx,
06192                              apr_pool_t *scratch_pool);
06193 
06196 
06230 typedef svn_error_t *(*svn_client_patch_func_t)(
06231   void *baton,
06232   svn_boolean_t *filtered,
06233   const char *canon_path_from_patchfile,
06234   const char *patch_abspath,
06235   const char *reject_abspath,
06236   apr_pool_t *scratch_pool);
06237 
06279 svn_error_t *
06280 svn_client_patch(const char *patch_abspath,
06281                  const char *wc_dir_abspath,
06282                  svn_boolean_t dry_run,
06283                  int strip_count,
06284                  svn_boolean_t reverse,
06285                  svn_boolean_t ignore_whitespace,
06286                  svn_boolean_t remove_tempfiles,
06287                  svn_client_patch_func_t patch_func,
06288                  void *patch_baton,
06289                  svn_client_ctx_t *ctx,
06290                  apr_pool_t *scratch_pool);
06291 
06304 
06305 /* Converting paths to URLs. */
06306 
06320 svn_error_t *
06321 svn_client_url_from_path2(const char **url,
06322                           const char *path_or_url,
06323                           svn_client_ctx_t *ctx,
06324                           apr_pool_t *result_pool,
06325                           apr_pool_t *scratch_pool);
06326 
06332 SVN_DEPRECATED
06333 svn_error_t *
06334 svn_client_url_from_path(const char **url,
06335                          const char *path_or_url,
06336                          apr_pool_t *pool);
06337 
06338 
06339 
06340 /* Fetching a repository's root URL and UUID. */
06341 
06356 svn_error_t *
06357 svn_client_get_repos_root(const char **repos_root_url,
06358                           const char **repos_uuid,
06359                           const char *abspath_or_url,
06360                           svn_client_ctx_t *ctx,
06361                           apr_pool_t *result_pool,
06362                           apr_pool_t *scratch_pool);
06363 
06373 SVN_DEPRECATED
06374 svn_error_t *
06375 svn_client_root_url_from_path(const char **url,
06376                               const char *path_or_url,
06377                               svn_client_ctx_t *ctx,
06378                               apr_pool_t *pool);
06379 
06390 SVN_DEPRECATED
06391 svn_error_t *
06392 svn_client_uuid_from_url(const char **uuid,
06393                          const char *url,
06394                          svn_client_ctx_t *ctx,
06395                          apr_pool_t *pool);
06396 
06397 
06408 SVN_DEPRECATED
06409 svn_error_t *
06410 svn_client_uuid_from_path2(const char **uuid,
06411                            const char *local_abspath,
06412                            svn_client_ctx_t *ctx,
06413                            apr_pool_t *result_pool,
06414                            apr_pool_t *scratch_pool);
06415 
06421 SVN_DEPRECATED
06422 svn_error_t *
06423 svn_client_uuid_from_path(const char **uuid,
06424                           const char *path,
06425                           svn_wc_adm_access_t *adm_access,
06426                           svn_client_ctx_t *ctx,
06427                           apr_pool_t *pool);
06428 
06429 
06430 /* Opening RA sessions. */
06431 
06444 svn_error_t *
06445 svn_client_open_ra_session2(svn_ra_session_t **session,
06446                            const char *url,
06447                            const char *wri_abspath,
06448                            svn_client_ctx_t *ctx,
06449                            apr_pool_t *result_pool,
06450                            apr_pool_t *scratch_pool);
06451 
06459 SVN_DEPRECATED
06460 svn_error_t *
06461 svn_client_open_ra_session(svn_ra_session_t **session,
06462                            const char *url,
06463                            svn_client_ctx_t *ctx,
06464                            apr_pool_t *pool);
06465 
06466 
06471 #ifdef __cplusplus
06472 }
06473 #endif /* __cplusplus */
06474 
06475 #endif  /* SVN_CLIENT_H */