This file is indexed.

/usr/include/coin/dylib_io.h is in coinor-libdylp-dev 1.6.0-1.1ubuntu2.

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
#ifndef _DYLIB_IO_H
#define _DYLIB_IO_H

/*
  This file is part of the support library for the Dylp LP distribution.

        Copyright (C) 2005 -- 2007 Lou Hafer

        School of Computing Science
        Simon Fraser University
        Burnaby, B.C., V5A 1S6, Canada
        lou@cs.sfu.ca

  This code is licensed under the terms of the Common Public License (CPL).
*/

/*
  @(#)io.h	2.4	03/18/04
  svn/cvs: $Id: dylib_io.h 238 2008-06-03 06:14:45Z lou $
*/

#include "dylib_std.h"
#ifdef _DYLIB_FORTRAN
#include "dylib_fortran.h"
#endif


/*
  Common definitions for the i/o library packages.
*/

/*
  The file i/o routines in io.c use an integer i/o id to specify a stream.
  The only reason to have this typedef is clarity in the code (and the off
  chance that it might someday become a more complex type). i/o id's are
  positive integers, between 1 and FOPEN_MAX-2 (see io.c for details).
*/

typedef int ioid ;

#define IOID_NOSTRM ((ioid) 0)
#define IOID_INV ((ioid) -1)

/*
  The lexeme structure, used for strings.
  
  Field		Description
  -----		-----------
  class		The class of the lexeme.
  string	The value of the lexeme.

  The values for class are drawn from the following set, defined below as the
  enum lexclass.

  Value		Description
  -----		-----------
  DY_LCNIL	Null lexeme.
  DY_LCNUM	A number.
  DY_LCID	An identifier.
  DY_LCDEL	A delimiter.
  DY_LCFS	A fixed-length string.
  DY_LCQS	A quoted string.
  DY_LCEOF	Indicates end-of-file while trying to assemble a lexeme.
  DY_LCERR	Indicates I/O error while trying to assemble a lexeme.
*/

typedef enum {DY_LCNIL,DY_LCNUM,DY_LCID,DY_LCDEL,DY_LCFS,DY_LCQS,
	      DY_LCEOF,DY_LCERR} lexclass ;

#ifdef	__cplusplus
typedef struct { lexclass clazz ;
		 char *string ; } lex_struct ;
#else
typedef struct { lexclass class ;
		 char *string ; } lex_struct ;
#endif

extern bool dyio_ioinit(void) ;
extern void dyio_ioterm(void) ;

extern ioid dyio_openfile(const char *path, const char *mode) ;
extern bool dyio_isactive(ioid id) ;
extern bool dyio_closefile(ioid id) ;
extern bool dyio_setmode(ioid id, char mode), dyio_ttyq(ioid id) ;

extern bool dyio_chgerrlog(const char *path, bool echo) ;

extern const char *dyio_idtopath(ioid id) ;
extern ioid dyio_pathtoid(const char *path, const char *mode) ;

extern long dyio_mark(ioid id) ;
extern bool dyio_backup(ioid id, long there) ;

extern bool dyio_scan(ioid id, const char pattern[], bool rwnd, bool wrap) ;
extern lex_struct *dyio_scanlex(ioid id),
		  *dyio_scanstr(ioid id, lexclass stype,
				int fslen, char qschr, char qechr) ;

extern void dyio_flushio(ioid id, bool echo),
	    dyio_outfmt(ioid id, bool echo, const char *pattern, ... ),
	    dyio_outchr(ioid id, bool echo, char chr) ;
extern int dyio_outfxd(char *buffer, int fldsze, char lcr,
		       const char *pattern, ... ) ;

#ifdef _DYLIB_FORTRAN
extern void dyio_outfmt_(integer *ftnid,
			 logical *ftnecho, char *pattern, ... ) ;
#endif

#endif /* _DYLIB_IO_H */