Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Classes | Defines | Typedefs | Enumerations | Functions | Variables

main.c File Reference

#include "svn_cmdline.h"
#include "svn_config.h"
#include "svn_pools.h"
#include "svn_delta.h"
#include "svn_path.h"
#include "svn_props.h"
#include "svn_auth.h"
#include "svn_opt.h"
#include "svn_ra.h"
#include "svn_private_config.h"
#include <apr_network_io.h>
#include <apr_signal.h>
#include <apr_uuid.h>
Include dependency graph for main.c:

Go to the source code of this file.

Classes

struct  copy_revprops_baton_t
struct  edit_baton_t
struct  init_baton_t
struct  node_baton_t
struct  opt_baton_t
struct  sync_baton_t

Defines

#define SVNSYNC_OPTS_DEFAULT

Typedefs

typedef svn_error_t *(* with_locked_func_t )(svn_ra_session_t *session, void *baton, apr_pool_t *pool)

Enumerations

enum  {
  svnsync_opt_non_interactive = SVN_OPT_FIRST_LONGOPT_ID, svnsync_opt_no_auth_cache, svnsync_opt_auth_username, svnsync_opt_auth_password,
  svnsync_opt_config_dir, svnsync_opt_version
}

Functions

static svn_error_t * absent_directory (const char *path, void *dir_baton, apr_pool_t *pool)
static svn_error_t * absent_file (const char *path, void *file_baton, apr_pool_t *pool)
static svn_error_t * add_directory (const char *path, void *parent_baton, const char *copyfrom_path, svn_revnum_t copyfrom_rev, apr_pool_t *pool, void **child_baton)
static svn_error_t * add_file (const char *path, void *parent_baton, const char *copyfrom_path, svn_revnum_t copyfrom_rev, apr_pool_t *pool, void **file_baton)
static svn_error_t * apply_textdelta (void *file_baton, const char *base_checksum, apr_pool_t *pool, svn_txdelta_window_handler_t *handler, void **handler_baton)
static svn_error_t * change_dir_prop (void *dir_baton, const char *name, const svn_string_t *value, apr_pool_t *pool)
static svn_error_t * change_file_prop (void *file_baton, const char *name, const svn_string_t *value, apr_pool_t *pool)
static svn_error_t * check_cancel (void *baton)
static svn_error_t * check_if_session_is_at_repos_root (svn_ra_session_t *sess, const char *url, apr_pool_t *pool)
static svn_error_t * check_lib_versions (void)
static svn_error_t * close_directory (void *dir_baton, apr_pool_t *pool)
static svn_error_t * close_edit (void *edit_baton, apr_pool_t *pool)
static svn_error_t * close_file (void *file_baton, const char *text_checksum, apr_pool_t *pool)
static svn_error_t * commit_callback (const svn_commit_info_t *commit_info, void *baton, apr_pool_t *pool)
static svn_error_t * copy_dir_rec (const char *src_path, svn_revnum_t src_rev, const char *dst_path, void *dir_baton, void *wrapped_parent_node_baton, svn_ra_session_t *from_session, apr_pool_t *pool)
static svn_error_t * copy_file (const char *src_path, svn_revnum_t src_rev, const char *dst_path, void *file_baton, void *wrapped_parent_node_baton, svn_ra_session_t *from_session, apr_pool_t *pool)
static svn_error_t * copy_revprops (svn_ra_session_t *from_session, svn_ra_session_t *to_session, svn_revnum_t rev, svn_boolean_t sync, apr_pool_t *pool)
static svn_error_t * copy_revprops_cmd (apr_getopt_t *os, void *b, apr_pool_t *pool)
static svn_error_t * delete_entry (const char *path, svn_revnum_t base_revision, void *parent_baton, apr_pool_t *pool)
static svn_error_t * do_copy_revprops (svn_ra_session_t *to_session, void *b, apr_pool_t *pool)
static svn_error_t * do_initialize (svn_ra_session_t *to_session, void *b, apr_pool_t *pool)
static svn_error_t * do_synchronize (svn_ra_session_t *to_session, void *b, apr_pool_t *pool)
static svn_error_t * get_lock (svn_ra_session_t *session, apr_pool_t *pool)
static svn_error_t * get_sync_editor (const svn_delta_editor_t *wrapped_editor, void *wrapped_edit_baton, svn_revnum_t base_revision, const char *to_url, const svn_delta_editor_t **editor, void **edit_baton, apr_pool_t *pool)
static svn_error_t * help_cmd (apr_getopt_t *os, void *baton, apr_pool_t *pool)
static svn_error_t * initialize_cmd (apr_getopt_t *os, void *b, apr_pool_t *pool)
static svn_revnum_t lookup_revnum (svn_ra_session_t *to_session, svn_revnum_t revnum, apr_pool_t *pool)
int main (int argc, const char *argv[])
static svn_error_t * open_directory (const char *path, void *parent_baton, svn_revnum_t base_revision, apr_pool_t *pool, void **child_baton)
static svn_error_t * open_file (const char *path, void *parent_baton, svn_revnum_t base_revision, apr_pool_t *pool, void **file_baton)
static svn_error_t * open_root (void *edit_baton, svn_revnum_t base_revision, apr_pool_t *pool, void **root_baton)
static svn_error_t * open_source_session (svn_ra_session_t **from_session, svn_string_t **last_merged_rev, svn_ra_session_t *to_session, svn_ra_callbacks2_t *callbacks, apr_hash_t *config, void *baton, apr_pool_t *pool)
static svn_error_t * open_tmp_file (apr_file_t **fp, void *callback_baton, apr_pool_t *pool)
static svn_error_t * set_target_revision (void *edit_baton, svn_revnum_t target_revision, apr_pool_t *pool)
static void signal_handler (int signum)
static svn_error_t * synchronize_cmd (apr_getopt_t *os, void *b, apr_pool_t *pool)
static svn_error_t * with_locked (svn_ra_session_t *session, with_locked_func_t func, void *baton, apr_pool_t *pool)

Variables

static volatile sig_atomic_t cancelled = FALSE
static svn_opt_subcommand_t copy_revprops_cmd
static svn_opt_subcommand_t help_cmd
static svn_opt_subcommand_t initialize_cmd
static const
svn_opt_subcommand_desc_t 
svnsync_cmd_table []
static const apr_getopt_option_t svnsync_options []
static svn_opt_subcommand_t synchronize_cmd

Detailed Description

svnsync tool. Modified by Oracle.

Definition in file main.c.


Generated by  Doxygen 1.6.0   Back to index