File: set.h

package info (click to toggle)
deborphan 1.7.28.8
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,916 kB
  • sloc: sh: 4,123; ansic: 1,847; makefile: 152
file content (23 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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