/usr/include/orc-0.4/orc/orcrule.h is in liborc-0.4-dev 1:0.4.28-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 | #ifndef _ORC_RULE_H_
#define _ORC_RULE_H_
#include <orc/orcutils.h>
#include <orc/orclimits.h>
#include <orc/orcopcode.h>
ORC_BEGIN_DECLS
typedef struct _OrcRule OrcRule;
typedef struct _OrcRuleSet OrcRuleSet;
typedef void (*OrcRuleEmitFunc)(OrcCompiler *p, void *user, OrcInstruction *insn);
/**
* OrcRule:
*
* The OrcRule structure has no public members
*/
struct _OrcRule {
/*< private >*/
OrcRuleEmitFunc emit;
void *emit_user;
};
/**
* OrcRuleSet:
*
* The OrcRuleSet structure has no public members
*/
struct _OrcRuleSet {
/*< private >*/
int opcode_major;
int required_target_flags;
OrcRule *rules;
int n_rules;
};
OrcRuleSet * orc_rule_set_new (OrcOpcodeSet *opcode_set, OrcTarget *target,
unsigned int required_flags);
void orc_rule_register (OrcRuleSet *rule_set, const char *opcode_name,
OrcRuleEmitFunc emit, void *emit_user);
ORC_END_DECLS
#endif
|