/* archives.h:
 *
 ****************************************************************
 * Copyright (C) 2003 Tom Lord
 * 
 * See the file "COPYING" for further information about
 * the copyright and warranty status of this work.
 */

#ifndef INCLUDE__LIBARCH__ARCHIVES_H
#define INCLUDE__LIBARCH__ARCHIVES_H


#include "file-utils/libawk/relational.h"


/* automatically generated __STDC__ prototypes */
extern t_uchar * arch_archive_location_file (t_uchar * archive_name);
extern void arch_set_archive_location (t_uchar * archive_name, t_uchar * location, int force_p);
extern t_uchar * arch_archive_location (t_uchar * archive_name, int soft);
extern void arch_delete_archive_location (t_uchar * archive_name);
extern rel_table arch_registered_archives (void);
extern void arch_make_archive (t_uchar * name, t_uchar * target_path);
extern t_uchar * arch_fs_archive_archive_version_path (t_uchar * archive_path);
extern t_uchar * arch_fs_archive_category_path (t_uchar * archive_path, t_uchar * category);
extern t_uchar * arch_fs_archive_branch_path (t_uchar * archive_path, t_uchar * package);
extern t_uchar * arch_fs_archive_version_path (t_uchar * archive_path, t_uchar * version);
extern t_uchar * arch_fs_archive_revision_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_revision_log_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_changeset_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_import_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_cached_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_continuation_path (t_uchar * archive_path, t_uchar * revision);
extern t_uchar * arch_fs_archive_revision_lock_unlocked_path (t_uchar * archive_path,
                                                              t_uchar * version,
                                                              t_uchar * prev_level);
extern t_uchar * arch_fs_archive_revision_lock_locked_path (t_uchar * archive_path,
                                                            t_uchar * version,
                                                            t_uchar * prev_level,
                                                            t_uchar * arch_user_id,
                                                            t_uchar * txn_id);
extern t_uchar * arch_fs_archive_revision_lock_locked_contents_path (t_uchar * archive_path,
                                                                     t_uchar * version,
                                                                     t_uchar * prev_level,
                                                                     t_uchar * arch_user_id,
                                                                     t_uchar * txn_id);
extern t_uchar * arch_fs_archive_revision_lock_broken_path (t_uchar * archive_path,
                                                            t_uchar * version,
                                                            t_uchar * prev_level);
#endif  /* INCLUDE__LIBARCH__ARCHIVES_H */


/* tag: Tom Lord Sat Jan  5 15:26:10 2002 (archives.h)
 */
