1 /* libraries.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__LIBRARIES_H 11 #define INCLUDE__LIBARCH__LIBRARIES_H 12 13 14 #include "hackerlab/machine/types.h" 15 #include "tla/libawk/relational.h" 16 17 18 19 /* automatically generated __STDC__ prototypes */ 20 extern rel_table arch_library_archive_dirs (rel_table opt_lib_path, 21 const t_uchar * archive, 22 int for_add); 23 extern rel_table arch_library_category_dirs (rel_table opt_lib_path, 24 const t_uchar * archive, 25 const t_uchar * category, 26 int for_add); 27 extern rel_table arch_library_branch_dirs (rel_table opt_lib_path, 28 const t_uchar * archive, 29 const t_uchar * branch, 30 int for_add); 31 extern rel_table arch_library_version_dirs (rel_table opt_lib_path, 32 const t_uchar * archive, 33 const t_uchar * version, 34 int for_add); 35 extern rel_table arch_library_revision_dirs (rel_table opt_lib_path, 36 const t_uchar * archive, 37 const t_uchar * revision, 38 int for_add); 39 extern t_uchar * arch_library_find (rel_table opt_lib_path, 40 const t_uchar * archive, 41 const t_uchar * revision, 42 int check_inode_sigs); 43 extern t_uchar * arch_library_find_file (const t_uchar * archive, 44 const t_uchar * revision, 45 const t_uchar * loc); 46 extern t_uchar * arch_library_find_file_by_id (const t_uchar * archive, 47 const t_uchar * revision, 48 const t_uchar * id); 49 extern rel_table arch_library_archives (void); 50 extern rel_table arch_library_categories (const t_uchar * archive); 51 extern rel_table arch_library_branches (const t_uchar * archive, 52 const t_uchar * category); 53 extern rel_table arch_library_versions (const t_uchar * archive, 54 const t_uchar * branch); 55 extern rel_table arch_library_revisions (const t_uchar * archive, 56 const t_uchar * version, 57 int full); 58 extern t_uchar * arch_library_log (const t_uchar * archive, 59 const t_uchar * revision); 60 extern t_uchar * arch_library_index_file (const t_uchar * archive, 61 const t_uchar * revision); 62 extern rel_table arch_library_index (const t_uchar * archive, 63 const t_uchar * revision); 64 extern int arch_library_has_archive (const t_uchar * lib, 65 const t_uchar * archive); 66 extern int arch_library_has_category (const t_uchar * lib, 67 const t_uchar * archive, 68 const t_uchar * category); 69 extern int arch_library_has_branch (const t_uchar * lib, 70 const t_uchar * archive, 71 const t_uchar * branch); 72 extern int arch_library_has_version (const t_uchar * lib, 73 const t_uchar * archive, 74 const t_uchar * version); 75 extern t_uchar * arch_library_revision_dir_in_lib (const t_uchar * lib, 76 const t_uchar * archive, 77 const t_uchar * revision); 78 extern int arch_library_is_greedy (const t_uchar * lib); 79 extern void arch_set_library_greediness (const t_uchar * lib, 80 int setting); 81 extern int arch_library_is_sparse (const t_uchar * lib); 82 extern void arch_set_library_sparseness (const t_uchar * lib, 83 int setting); 84 extern void arch_verify_is_library (const t_uchar * lib); 85 #endif /* INCLUDE__LIBARCH__LIBRARIES_H */ 86 87 88 /* tag: Tom Lord Sat Jan 5 15:26:10 2002 (libraries.h) 89 */ 90