File: elfload.h

package info (click to toggle)
mol 0.9.61-6
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 6,140 kB
  • ctags: 8,491
  • sloc: ansic: 50,560; asm: 2,826; sh: 458; makefile: 373; perl: 165; lex: 135; yacc: 131
file content (29 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* 
 *   Creation Date: <2001/05/05 16:44:17 samuel>
 *   Time-stamp: <2001/05/24 02:10:36 samuel>
 *   
 *	<elfload.h>
 *	
 *	Elf loader
 *   
 *   Copyright (C) 2001 Samuel Rydh (samuel@ibrium.se)
 *   
 *   This program is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU General Public License
 *   as published by the Free Software Foundation
 *   
 */

#ifndef _H_ELFLOAD
#define _H_ELFLOAD

#include "fs.h"
#include "elf.h"

extern int		is_elf32( fs_ops_t *fs, file_desc_t fd, int offs );
extern int		find_elf32( fs_ops_t *fs, file_desc_t fd );

extern Elf32_Phdr *	elf32_readhdrs( fs_ops_t *fs, file_desc_t fd, int offs, Elf32_Ehdr *e );


#endif   /* _H_ELFLOAD */