/* set.h
   Copyright (C) 2000, 2001, 2002, 2003 Cris van Pelt
   Copyright (C) 2003, 2004 Peter Palfrader

   $Id: set.h 409 2004-04-21 12:20:43Z weasel $

   Distributed under the terms of the Artistic License.
*/
#ifndef _SET_H
#  define _SET_H

#define set_hold(p) ((p)->hold = 1)
#define set_config(p) ((p)->config = 1)
#define set_install(p) ((p)->install = 1)

extern dep *set_dep (dep *, const char *);
extern dep *set_provides (pkg_info *, const char *, int);
extern void set_section (pkg_info *, const char *, const char *);
extern void set_priority (pkg_info *, const char *);
extern void init_pkg (pkg_info *);
extern void reinit_pkg (pkg_info *);

#endif
