source: trunk/include/sh_prelink.h@ 161

Last change on this file since 161 was 102, checked in by rainer, 18 years ago

Flush before fork (fix for ticket #60), and fix for kcheck on 2.6.21 (ticket #63).

File size: 479 bytes
Line 
1#ifndef SH_PRELINK_H
2#define SH_PRELINK_H
3
4/* path: full path to file;
5 * file_hash: allocated storage for checksum;
6 * alert_timeout: timeout for read
7 */
8int sh_prelink_run (char * path, char * file_hash, int alert_timeout);
9
10/* return S_TRUE if ELF file, S_FALSE otherwise
11 */
12int sh_prelink_iself (SL_TICKET fd, off_t size, int alert_timeout, char * path);
13
14/* configuration
15 */
16int sh_prelink_set_path (const char * str);
17int sh_prelink_set_hash (const char * str);
18#endif
Note: See TracBrowser for help on using the repository browser.