This file is indexed.

/usr/include/g2_PS.h is in libg2-dev 0.72-5build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*****************************************************************************
**  Copyright (C) 1998-2001  Ljubomir Milanovic & Horst Wagner
**  This file is part of the g2 library
**
**  This library is free software; you can redistribute it and/or
**  modify it under the terms of the GNU Lesser General Public
**  License as published by the Free Software Foundation; either
**  version 2.1 of the License, or (at your option) any later version.
**
**  This library is distributed in the hope that it will be useful,
**  but WITHOUT ANY WARRANTY; without even the implied warranty of
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
**  Lesser General Public License for more details.
**
**  You should have received a copy of the GNU Lesser General Public
**  License along with this library; if not, write to the Free Software
**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
******************************************************************************/
#ifndef _G2_PS_H
#define _G2_PS_H

#if defined(__cplusplus)
extern "C"
{
#endif

/**
 *  g2 paper type.
 *
 * \ingroup PS
 */
enum g2_PS_paper {	        /*      Name           Size(Pt)   */
 g2_A0,		                /**< A0                 2384 x 3370 */
 g2_A1,		                /**< A1                 1684 x 2384 */
 g2_A2,		                /**< A2                 1191 x 1684 */
 g2_A3,		                /**< A3                  842 x 1191 */
 g2_A4,		                /**< A4                  595 x  842 */
 g2_A5,		                /**< A5                  420 x  595 */
 g2_A6,		                /**< A6                  297 x  420 */
 g2_A7,		                /**< A7                  210 x  297 */
 g2_A8,		                /**< A8                  148 x  210 */
 g2_A9,		                /**< A9                  105 x  148 */
 g2_B0,		                /**< B0                 2920 x 4127 */
 g2_B1,		                /**< B1                 2064 x 2920 */
 g2_B2,		                /**< B2                 1460 x 2064 */
 g2_B3,		                /**< B3                 1032 x 1460 */
 g2_B4,		                /**< B4                  729 x 1032 */
 g2_B5,		                /**< B5                  516 x  729 */
 g2_B6,		                /**< B6                  363 x  516 */
 g2_B7,		                /**< B7                  258 x  363 */
 g2_B8,		                /**< B8                  181 x  258 */
 g2_B9,		                /**< B9                  127 x  181 */
 g2_B10,                        /**< B10                  91 x  127 */
 g2_Comm_10_Envelope,           /**< Comm #10 Envelope   297 x  684 */
 g2_C5_Envelope,	        /**< C5 Envelope         461 x  648 */
 g2_DL_Envelope,	        /**< DL Envelope         312 x  624 */
 g2_Folio,	                /**< Folio               595 x  935 */
 g2_Executive,	                /**< Executive           522 x  756 */
 g2_Letter,	                /**< Letter              612 x  792 */
 g2_Legal,	                /**< Legal               612 x 1008 */
 g2_Ledger,	                /**< Ledger             1224 x  792 */
 g2_Tabloid	                /**< Tabloid             792 x 1224 */
};

    
/**
 *  g2 paper orientation.
 *
 * \ingroup PS
 */
enum g2_PS_orientation {
    g2_PS_land,			/**< landscape */
    g2_PS_port			/**< portrait */
};

/*
 *  g2 Format
 */
enum g2_PS_format {
    g2_PS_PostScript,			/* PostScript  */
    g2_PS_EPSF,				/* EPSF format */
    g2_PS_EPSF_CLIP			/* EPSF format with predefined Bounding Box*/
};

/* Common Library header for DLL and application */
#ifdef WIN32
#ifdef G2DLL
#ifdef MAKEDLL
/* Create DLL */
#define G2L __declspec( dllexport)
#else
/* Use DLL */
#define G2L __declspec( dllimport)
#endif
#else 
/* Use static win32 */
#define G2L
#endif
#else
/* Use non-win32 */
#define G2L
#endif


G2L int g2_open_PS(const char *file_name,
		   enum g2_PS_paper paper,
		   enum g2_PS_orientation orientation);

G2L int g2_open_EPSF(const char *file_name);

G2L int g2_open_EPSF_CLIP(const char *file_name,
			long width, long height);

#if defined(__cplusplus)
} /* end extern "C" */
#endif

#endif /* _G2_PS_H */