/usr/include/qsopt_ex/read_mps_mpf.h is in libqsopt-ex-dev 2.5.10.3-1.
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 | /* WARNING! This file was autogenerated from template */
/****************************************************************************/
/* */
/* This file is part of QSopt_ex. */
/* */
/* (c) Copyright 2006 by David Applegate, William Cook, Sanjeeb Dash, */
/* and Daniel Espinoza */
/* */
/* Sanjeeb Dash ownership of copyright in QSopt_ex is derived from his */
/* copyright in QSopt. */
/* */
/* This code may be used under the terms of the GNU General Public License */
/* (Version 2.1 or later) as published by the Free Software Foundation. */
/* */
/* Alternatively, use is granted for research purposes only. */
/* */
/* It is your choice of which of these two licenses you are operating */
/* under. */
/* */
/* We make no guarantees about the correctness or usefulness of this code. */
/* */
/****************************************************************************/
/* $RCSfile: rd_mps.h,v $ $Revision: 1.2 $ $Date: 2003/11/05 16:57:39 $ */
#ifndef mpf_READ_MPS_STATE_H
#define mpf_READ_MPS_STATE_H
#include "symtab.h"
#include "basicdefs.h"
#include "readline_mpf.h"
typedef struct mpf_ILLread_mps_state_struct
{
int section[ILL_MPS_N_SECTIONS];
ILLmps_section active;
const char *file_name;
mpf_qsline_reader *file;
unsigned int line_num;
unsigned int field_num; /* number of successfully read fields on line */
int intvar;
int sosvar;
char line[ILL_namebufsize];
char key[ILL_namebufsize];
char field[ILL_namebufsize];
char *obj;
char *p; /* ptr to next 'unread' character */
}
mpf_ILLread_mps_state;
extern int mpf_ILLmps_state_init (
mpf_ILLread_mps_state * state,
mpf_qsline_reader * file,
const char *fname);
extern void mpf_ILLmps_state_clear (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_set_section (
mpf_ILLread_mps_state * state,
const ILLmps_section sec);
extern int mpf_ILLmps_next_line (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_next_field (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_next_coef (
mpf_ILLread_mps_state * state,
mpf_t * coef);
extern int mpf_ILLmps_next_bound (
mpf_ILLread_mps_state * state,
mpf_t * coef);
extern void mpf_ILLmps_check_end_of_line (
mpf_ILLread_mps_state * state);
extern void mpf_ILLmps_set_end_of_line (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_int_sos_mode (
mpf_ILLread_mps_state * state);
extern const char *mpf_ILLmps_possibly_blank_name (
const char *field,
mpf_ILLread_mps_state * state,
ILLsymboltab * tab);
extern int mpf_ILLmps_empty_key (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_empty_field (
mpf_ILLread_mps_state * state);
extern int mpf_ILLmps_error (
mpf_ILLread_mps_state * state,
const char *format,
...);
extern void mpf_ILLmps_warn (
mpf_ILLread_mps_state * state,
const char *format,
...);
#endif
|