source: tags/4.1.0/include/sh_prelink.h

Last change on this file was 481, checked in by katerina, 5 years ago

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File size: 499 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, unsigned long mask);
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.