#ifndef __checkpoint_h__ #define __checkpoint_h__ #define ENOCKPT 100 /* checkpointing is currently disabled */ #define ETOOSOON 101 /* too little time passed since previous ckpt */ #define CKPT_DEAD 1 #define CKPT_RDONLY 0 #define CKPT_PERIODIC 0 #define CKPT_IMMEDIATE 1 #define CKPT_ASYNC 2 /* invoked by an alarm */ #ifdef __STDC__ int checkpoint_here_(int*); int checkpoint_here(int); int include_bytes_(char *, unsigned long *, long); int include_bytes(char *, unsigned long); int exclude_bytes_(char *, unsigned long *, int *, long); int exclude_bytes(char *, unsigned long, int); #else /* __STDC__ */ int checkpoint_here(/* int */); int include_bytes(/* char *, unsigned long */); int exclude_bytes(/* char *, unsigned long, int */); #endif /* __STDC__ */ #endif