/usr/include/dparser/read_binary.h is in mcrl2 201210.1-1ubuntu1.
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 | /*
Copyright 2002-2004 John Plevyak, All Rights Reserved
*/
#ifndef _read_binary_H_
#define _read_binary_H_
typedef struct BinaryTablesHead {
int n_relocs;
int n_strings;
int d_parser_tables_loc;
int tables_size;
int strings_size;
} BinaryTablesHead;
typedef struct BinaryTables {
D_ParserTables *parser_tables_gram;
char *tables;
} BinaryTables;
BinaryTables * read_binary_tables(char *file_name, D_ReductionCode spec_code, D_ReductionCode final_code);
BinaryTables * read_binary_tables_from_file(FILE *fp, D_ReductionCode spec_code, D_ReductionCode final_code);
BinaryTables * read_binary_tables_from_string(unsigned char *buf, D_ReductionCode spec_code, D_ReductionCode final_code);
void free_BinaryTables(BinaryTables * binary_tables);
#endif
|