1 /* archives.h:
2  *
3  ****************************************************************
4  * Copyright (C) 2003 Tom Lord
5  *
6  * See the file "COPYING" for further information about
7  * the copyright and warranty status of this work.
8  */
9 
10 #ifndef INCLUDE__LIBARCH__ARCHIVES_H
11 #define INCLUDE__LIBARCH__ARCHIVES_H
12 
13 
14 #include "tla/libawk/relational.h"
15 
16 #define ARCH_REG_FAIL_NORM             0
17 #define ARCH_REG_FAIL_QUIET            1
18 #define ARCH_REG_FAIL_NOFAIL           2
19 
20 
21 /* automatically generated __STDC__ prototypes */
22 extern t_uchar * arch_archive_location_file (const t_uchar * archive_name);
23 extern void arch_set_archive_location (const t_uchar * archive_name,
24                                        const t_uchar * location,
25                                        int force_p,
26                                        int quietly_fail);
27 extern t_uchar * arch_archive_location (const t_uchar * archive_name,
28                                         int soft);
29 extern void arch_delete_archive_location (const t_uchar * archive_name,
30                                           int force_p);
31 extern rel_table arch_registered_archives (void);
32 extern t_uchar * arch_mirrored_at_name (const t_uchar * archive);
33 extern t_uchar * arch_mirrored_from_name (const t_uchar * archive);
34 extern t_uchar * arch_mirrored_at (const t_uchar * archive);
35 extern t_uchar * arch_mirrored_from (const t_uchar * archive);
36 extern t_uchar * arch_fs_archive_archive_version_path (const t_uchar * archive_path);
37 extern t_uchar * arch_fs_archive_meta_info_path (const t_uchar * archive_path);
38 extern t_uchar * arch_fs_archive_meta_info_item_path (const t_uchar * archive_path,
39                                                       const t_uchar * meta_info_name);
40 #endif  /* INCLUDE__LIBARCH__ARCHIVES_H */
41 
42 
43 /* tag: Tom Lord Sat Jan  5 15:26:10 2002 (archives.h)
44  */
45