File: std.h

package info (click to toggle)
console-apt 0.7.7.2potato2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 612 kB
  • ctags: 658
  • sloc: cpp: 6,883; sh: 152; makefile: 47
file content (48 lines) | stat: -rw-r--r-- 1,074 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

#ifndef std_H
#define std_H

#include <config.h>

#include <iostream.h>
#include <string.h>
#include <list.h>

#include <stdlib.h>
#include <string.h>

#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <assert.h>

#include <apt-pkg/configuration.h>
#include <apt-pkg/progress.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/depcache.h>
#include <apt-pkg/init.h>
#include <apt-pkg/pkgcachegen.h>
#include <apt-pkg/pkgrecords.h>
#include <apt-pkg/cachefile.h>
#include <apt-pkg/error.h>
#include <apt-pkg/acquire-item.h>
#include <apt-pkg/acquire-worker.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/dpkgpm.h>
#include <apt-pkg/algorithms.h>

#include <ncurses.h>

extern char const *internal_version;
extern char *search_pattern;

extern void capt_clean_exit(void);

#define DEBUGEXIT(x) { endwin(); fprintf(stderr, "Exit: \"%s\"\n", x); exit(0); }

#define myassert(truth, text) if ((truth) == false) {endwin(); fprintf(stderr, "Assertion failure: %s\n", text);}

#endif /* std_H */