File: libc_syms.h

package info (click to toggle)
njamd 0.9.3pre2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,704 kB
  • ctags: 1,056
  • sloc: ansic: 9,367; sh: 7,921; makefile: 121; perl: 52
file content (25 lines) | stat: -rw-r--r-- 580 bytes parent folder | download
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
/** 
 * @file libc_syms.h
 * Header for libc symbol resolution
 *
 * Copyright (C) 2000 by Mike Perry.
 * Distributed WITHOUT WARRANTY under the GPL. See COPYING for details.
 */
#ifndef __NJAMD_LIB_LIBC_H__
#define __NJAMD_LIB_LIBC_H__
#include <config.h>

struct nj_libc_syms
{
	void *libc_handle;
	void *pthread_handle;
};

int __nj_libc_syms_init(struct nj_libc_syms *);
void *__nj_libc_syms_resolve_libc(struct nj_libc_syms *, char *);
void *__nj_libc_syms_resolve_pthread(struct nj_libc_syms *, char *);
void __nj_libc_syms_fini(struct nj_libc_syms *);

#endif
// vim:ts=4