/usr/include/io_lib/open_trace_file.h is in libstaden-read-dev 1.12.4-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 | #ifndef _OPEN_TRACE_FILE_H_
#define _OPEN_TRACE_FILE_H_
#include "io_lib/mFILE.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Opens a trace file named 'file'. This is initially looked for as a
* pathname relative to a file named "relative_to". This may (for
* example) be the name of an experiment file referencing the trace
* file. In this case by passing relative_to as the experiment file
* filename the trace file will be picked up in the same directory as
* the experiment file. Relative_to may be supplied as NULL.
*
* 'file' is looked for at relative_to, then the current directory, and then
* all of the locations listed in RAWDATA (which is a colon separated list).
*
* Returns a mFILE pointer when found.
* NULL otherwise.
*/
mFILE *open_trace_mfile(char *file, char *relative_to);
FILE *open_trace_file(char *file, char *relative_to);
mFILE *open_exp_mfile(char *file, char *relative_to);
FILE *open_exp_file(char *file, char *relative_to);
void iolib_set_trace_path(char *path);
char *iolib_get_trace_path(void);
void iolib_set_exp_path (char *path);
char *iolib_get_exp_path (void);
#ifdef __cplusplus
}
#endif
#endif /* _OPEN_TRACE_FILE_H_ */
|