/* configs.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__CONFIGS_H
#define INCLUDE__LIBARCH__CONFIGS_H


#include "libawk/relational.h"
#include "libarch/project-tree.h"



struct arch_build_config_params
{
  int no_pristines;
  int hardlinks;
  int library;
  int sparse;
  int no_greedy_add;
  int release_id;
};


/* automatically generated __STDC__ prototypes */
extern t_uchar * arch_config_path (arch_project_tree_t * tree, t_uchar * config_name);
extern rel_table arch_read_config (arch_project_tree_t * tree, t_uchar * config_name);
extern rel_table arch_config_from_tree (arch_project_tree_t * tree, rel_table config_in);
extern int arch_begin_new_config (arch_project_tree_t * tree, t_uchar * name, int force);
extern void arch_finish_new_config (int fd, arch_project_tree_t * tree, t_uchar * name, int force);
extern void arch_build_config (arch_project_tree_t * tree,
                               t_uchar * config_name,
                               struct arch_build_config_params * params,
                               t_uchar * default_archive);
#endif  /* INCLUDE__LIBARCH__CONFIGS_H */

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


syntax highlighted by Code2HTML, v. 0.9.1