|
|
1.1 ! root 1: /* ! 2: * patchl.h ! 3: */ ! 4: ! 5: #ifndef PATCHL_H ! 6: #define PATCHL_H ! 7: ! 8: #include <sys/patch.h> ! 9: ! 10: enum { ! 11: bad_arg = 0, ! 12: peek_arg = 1, ! 13: assign_arg = 2, ! 14: con_in_arg = 3, ! 15: con_out_arg = 4 ! 16: }; ! 17: ! 18: typedef char Vname[PATCH_VAR_NAME_LENGTH]; ! 19: ! 20: struct PatchPeek { ! 21: Vname vname; ! 22: }; ! 23: ! 24: struct PatchAssign { ! 25: Vname vname; ! 26: long newValue; ! 27: }; ! 28: ! 29: struct PatchCon { ! 30: Vname vname; ! 31: int maj; ! 32: }; ! 33: ! 34: struct PatchInfo { ! 35: int piType; ! 36: union { ! 37: struct PatchPeek peekData; ! 38: struct PatchAssign assignData; ! 39: struct PatchCon conData; ! 40: } piData; ! 41: }; ! 42: ! 43: #endif /* PATCHL_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.