diff options
Diffstat (limited to 'mps/code/prmcli.h')
| -rw-r--r-- | mps/code/prmcli.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mps/code/prmcli.h b/mps/code/prmcli.h new file mode 100644 index 00000000000..477875303bc --- /dev/null +++ b/mps/code/prmcli.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* impl.h.prmcli: PROTECTION MUTATOR CONTEXT (Linux) | ||
| 2 | * | ||
| 3 | * $HopeName: $ | ||
| 4 | * Copyright (C) 1998 The Harlequin Group Limited. All rights reserved. | ||
| 5 | * | ||
| 6 | * .readership: MPS developers. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #ifndef prmcli_h | ||
| 10 | #define prmcli_h | ||
| 11 | |||
| 12 | |||
| 13 | /* open sesame magic */ | ||
| 14 | #define _BSD_SOURCE 1 | ||
| 15 | #define _POSIX_C_SOURCE 1 | ||
| 16 | |||
| 17 | #include "mpm.h" | ||
| 18 | |||
| 19 | #include <signal.h> | ||
| 20 | |||
| 21 | typedef struct MutatorFaultContextStruct { /* Protection fault context data */ | ||
| 22 | struct sigcontext *scp; /* Linux sigcontext */ | ||
| 23 | } MutatorFaultContextStruct; | ||
| 24 | |||
| 25 | |||
| 26 | #endif /* prmcli_h */ | ||