/usr/include/qsopt_ex/reporter.h is in libqsopt-ex-dev 2.5.10.3-1build1.
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 | /****************************************************************************/
/* */
/* 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: reporter.h,v $ $Revision: 1.2 $ $Date: 2003/11/05 16:57:39 $ */
#ifndef REPORTER_FILE
#define REPORTER_FILE
#include "eg_io.h"
typedef int (
*qsreport_string_fct) (
void *dest,
const char *s);
typedef struct qsstring_reporter
{
qsreport_string_fct report_fct;
void *dest;
}
qsstring_reporter;
extern int ILL_fprintf (
void *dest,
const char *s);
void ILLstring_reporter_init (
qsstring_reporter * reporter,
qsreport_string_fct fct,
void *dest);
void ILLstring_reporter_copy (
qsstring_reporter * dest,
qsstring_reporter * src);
#define ILLstring_report(s, reporter) \
((reporter)->report_fct((reporter)->dest, s) < 0)
/* used from with ILL fct to report progress */
/* REPORTER_FILE */
#endif
|