File: set.h

package info (click to toggle)
deborphan 1.7.35
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 764 kB
  • sloc: ansic: 1,631; makefile: 119; sh: 87; perl: 54
file content (21 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* set.h
   Copyright (C) 2000, 2001, 2002, 2003 Cris van Pelt
   Copyright (C) 2003, 2004 Peter Palfrader

   Distributed under the terms of the MIT License, see the
   file COPYING provided in this package for details.
*/
#pragma once

#include "deborphan.h"

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

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