File: headers.h

package info (click to toggle)
alpine 2.11%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,876 kB
  • ctags: 26,747
  • sloc: ansic: 316,152; tcl: 26,277; sh: 11,228; makefile: 1,885; perl: 189; xml: 93; exp: 69; csh: 48; sed: 16
file content (68 lines) | stat: -rw-r--r-- 1,969 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
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
 * $Id: headers.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
 *
 * ========================================================================
 * Copyright 2006 University of Washington
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * ========================================================================
 */

#ifndef ALPINE_HEADERS_INCLUDED
#define ALPINE_HEADERS_INCLUDED


/*----------------------------------------------------------------------
           Include files
 ----*/

#include "../pith/headers.h"

#include "../pico/headers.h"


/*
 * Redefinition to help pico storage object use more clear
 */
#define	PicoText ExternalText


#if !defined(DOS) && !defined(OS2) && !defined(LEAVEOUTFIFO)
    /*
     * If LEAVEOUTFIFO is set in os.h, then we leave it out.
     * If it isn't set, we still might leave it out. We'll decide
     * based on whether or not O_NONBLOCK is defined or not.
     * It's just a guess. Safer would be to change the polarity of the
     * test and define something like INCLUDEFIFO instead of LEAVEOUTFIFO
     * and only define it where we know. Since we don't really know
     * we'd rather run the risk of being wrong and finding out that
     * way instead of just having people not know about it.
     */
#if !defined(O_NONBLOCK)
#define LEAVEOUTFIFO 1
#endif
#endif

/* include osdep protos and def'ns */
#include "osdep/debuging.h"
#include "osdep/execview.h"
#include "osdep/fltrname.h"
#include "osdep/jobcntrl.h"
#include "osdep/print.h"
#include "osdep/termin.gen.h"
#include "osdep/termout.gen.h"
#ifndef _WINDOWS
#include "osdep/termin.unx.h"
#include "osdep/termout.unx.h"
#else /* _WINDOWS */
#include "osdep/termin.wnt.h"
#include "osdep/termout.wnt.h"
#endif /* _WINDOWS */


#endif /* ALPINE_HEADERS_INCLUDED */