source: branches/samhain-2_2-branch/include/sh_prelink.h@ 242

Last change on this file since 242 was 22, checked in by rainer, 19 years ago

Minor code revisions.

File size: 466 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);
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.