Ignore:
Timestamp:
29/12/2006 17:18:17 (5 years ago)
Author:
chris
Message:

Compile fix for platforms without intercept capability (refs #3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/merge/lib/intercept/intercept.h

    r1187 r1229  
    1010#ifndef INTERCEPT_H 
    1111#define INTERCEPT_H 
     12#ifndef PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE 
    1213 
    1314#include <dirent.h> 
     
    3637void intercept_setup_error(const char *filename, unsigned int errorafter,  
    3738        int errortoreturn, int syscalltoerror); 
     39void intercept_setup_delay(const char *filename, unsigned int delay_after, 
     40        int delay_ms, int syscall_to_delay, int num_delays); 
     41bool intercept_triggered(); 
    3842 
    3943void intercept_setup_readdir_hook(const char *dirname,  readdir_t hookfn); 
    4044void intercept_setup_lstat_hook  (const char *filename, lstat_t   hookfn); 
    4145 
     46#endif // !PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE 
    4247#endif // !INTERCEPT_H 
Note: See TracChangeset for help on using the changeset viewer.