⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cl.h

📁 subversion-1.4.5.tar.gz 配置svn的源码
💻 H
📖 第 1 页 / 共 2 页
字号:
 * Typically, error codes like SVN_ERR_UNVERSIONED_RESOURCE, * SVN_ERR_ENTRY_NOT_FOUND, etc, are supplied in varargs.  Don't * forget to terminate the argument list with SVN_NO_ERROR. */svn_error_t *svn_cl__try(svn_error_t *err,            svn_boolean_t *success,            svn_boolean_t quiet,            ...);/* Our cancellation callback. */svn_error_t *svn_cl__check_cancel(void *baton);/*** Command-line output functions -- printing to the user. ***//* Print out commit information found in COMMIT_INFO to the console. * POOL is used for temporay allocations. */svn_error_t *svn_cl__print_commit_info(svn_commit_info_t *commit_info,                                       apr_pool_t *pool);/* Print STATUS for PATH to stdout for human consumption.  Prints in   abbreviated format by default, or DETAILED format if flag is set.   When DETAILED is set, use SHOW_LAST_COMMITTED to toggle display of   the last-committed-revision and last-committed-author.   If SKIP_UNRECOGNIZED is TRUE, this function will not print out   unversioned items found in the working copy.   When DETAILED is set, and REPOS_LOCKS is set, treat missing repository locks   as broken WC locks. */svn_error_t *svn_cl__print_status(const char *path,                                  svn_wc_status2_t *status,                                  svn_boolean_t detailed,                                  svn_boolean_t show_last_committed,                                  svn_boolean_t skip_unrecognized,                                  svn_boolean_t repos_locks,                                  apr_pool_t *pool);/* Print STATUS for PATH in XML to stdout.  Use POOL for temporary   allocations. */svn_error_t *svn_cl__print_status_xml(const char *path,                         svn_wc_status2_t *status,                         apr_pool_t *pool);/* Print a hash that maps property names (char *) to property values   (svn_string_t *).  The names are assumed to be in UTF-8 format;   the values are either in UTF-8 (the special Subversion props) or   plain binary values.   If NAMES_ONLY is true, print just names, else print names and   values. */svn_error_t *svn_cl__print_prop_hash(apr_hash_t *prop_hash,                        svn_boolean_t names_only,                        apr_pool_t *pool);/* Do the following things that are commonly required before accessing revision   properties.  Ensure that REVISION is specified explicitly and is not   relative to a working-copy item.  Ensure that exactly one target is   specified in TARGETS.  Set *URL to the URL of the target.  Return an   appropriate error if any of those checks or operations fail. */svn_error_t *svn_cl__revprop_prepare(const svn_opt_revision_t *revision,                        apr_array_header_t *targets,                        const char **URL,                        apr_pool_t *pool);/* Search for a text editor command in standard environment variables,   and invoke it to edit CONTENTS (using a temporary file created in   directory BASE_DIR).  Return the new contents in *EDITED_CONTENTS,   or set *EDITED_CONTENTS to NULL if no edit was performed.   If EDITOR_CMD is not NULL, it is the name of the external editor   command to use, overriding anything else that might determine the   editor.   If TMPFILE_LEFT is NULL, the temporary file will be destroyed.   Else, the file will be left on disk, and its path returned in   *TMPFILE_LEFT.   CONFIG is a hash of svn_config_t * items keyed on a configuration   category (SVN_CONFIG_CATEGORY_CONFIG et al), and may be NULL.   If AS_TEXT is TRUE, recode CONTENTS and convert to native eol-style before   editing and back again afterwards.  In this case, ENCODING determines the   encoding used during editing.  If non-NULL, use the named encoding, else   use the system encoding.  If AS_TEXT is FALSE, don't do any translation.   In that case, ENCODING is ignored.   Use POOL for all allocations.  Use PREFIX as the prefix for the   temporary file used by the editor.   If return error, *EDITED_CONTENTS is not touched. */svn_error_t *svn_cl__edit_externally(svn_string_t **edited_contents,                        const char **tmpfile_left,                        const char *editor_cmd,                        const char *base_dir,                        const svn_string_t *contents,                        const char *prefix,                        apr_hash_t *config,                        svn_boolean_t as_text,                        const char *encoding,                        apr_pool_t *pool);/*** Notification functions to display results on the terminal. *//* Set *NOTIFY_FUNC_P and *NOTIFY_BATON_P to a notifier/baton for all * operations, allocated in POOL. *  * If this is a checkout, set IS_CHECKOUT to true, so that the * notifier will print the appropriate summary line at the end of the * output. *  * If this is an export, set IS_EXPORT to true, so that the * notifier will print the appropriate summary line at the end of the * output. *  * If don't want a summary line at the end of notifications, set * SUPPRESS_FINAL_LINE. */void svn_cl__get_notifier(svn_wc_notify_func2_t *notify_func_p,                          void **notify_baton_p,                          svn_boolean_t is_checkout,                          svn_boolean_t is_export,                          svn_boolean_t suppress_final_line,                          apr_pool_t *pool);/*** Log message callback stuffs. ***//* Allocate in POOL a baton for use with svn_cl__get_log_message().   OPT_STATE is the set of command-line options given.     BASE_DIR is a directory in which to create temporary files if an   external editor is used to edit the log message.  If BASE_DIR is   NULL, the current working directory (`.') will be used, and   therefore the user must have the proper permissions on that   directory.  ### todo: What *should* happen in the NULL case is that   we ask APR to tell us where a suitable tmp directory is (like, /tmp   on Unix and C:\Windows\Temp on Win32 or something), and use it.   But APR doesn't yet have that capability.      CONFIG is a client configuration hash of svn_config_t * items keyed   on config categories, and may be NULL.   NOTE: While the baton itself will be allocated from POOL, the items   add to it are added by reference, not duped into POOL!*/svn_error_t *svn_cl__make_log_msg_baton(void **baton,                                        svn_cl__opt_state_t *opt_state,                                        const char *base_dir,                                        apr_hash_t *config,                                        apr_pool_t *pool);/* A function of type svn_client_get_commit_log2_t. */svn_error_t *svn_cl__get_log_message(const char **log_msg,                                     const char **tmp_file,                                     const apr_array_header_t *commit_items,                                     void *baton,                                     apr_pool_t *pool);/* Handle the cleanup of a log message, using the data in the   LOG_MSG_BATON, in the face of COMMIT_ERR.  This may mean removing a   temporary file left by an external editor, or it may be a complete   no-op.  COMMIT_ERR may be NULL to indicate to indicate that the   function should act as though no commit error occurred.   All error returns from this function are guaranteed to at least   include COMMIT_ERR, and perhaps additional errors attached to the   end of COMMIT_ERR's chain.  */svn_error_t *svn_cl__cleanup_log_msg(void *log_msg_baton,                                     svn_error_t *commit_err);/* Add a message about --force if appropriate */svn_error_t *svn_cl__may_need_force(svn_error_t *err);/* Write the STRING to the stdio STREAM, returning an error if it fails. */svn_error_t *svn_cl__error_checked_fputs(const char *string,                                         FILE* stream);/* If STRING is non-null, append it, wrapped in a simple XML CDATA element   named TAGNAME, to the string SB.  Use POOL for temporary allocations. */void svn_cl__xml_tagged_cdata(svn_stringbuf_t **sb,                              apr_pool_t *pool,                              const char *tagname,                              const char *string);/* Return a (non-localised) string representation of KIND, being "dir" or   "file" or, in any other case, the empty string. */const char *svn_cl__node_kind_str(svn_node_kind_t kind);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* SVN_CL_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -