source: git/kernel/mod_raw.h @ 6b9532

spielwiese
Last change on this file since 6b9532 was 35aab3, checked in by Hans Schönemann <hannes@…>, 21 years ago
This commit was generated by cvs2svn to compensate for changes in r6879, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@6880 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 985 bytes
Line 
1#ifndef MOD_RAW_H
2#define MOD_RAW_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: mod_raw.h,v 1.1.1.1 2003-10-06 12:15:57 Singular Exp $ */
7/*
8 * ABSTRACT: machine depend code for dynamic modules
9 *
10 * Provides: dynl_open()
11 *           dynl_sym()
12 *           dynl_error()
13 *           dunl_close()
14*/
15
16#if defined(HAVE_DL)
17#ifdef __cplusplus
18void* dynl_open_binary_warn(char* binary_name, const char* msg = NULL );
19void* dynl_sym_warn(void* handle, char* proc, const char* msg = NULL );
20#endif
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25void *       dynl_open(char *filename);
26// if handle == DYNL_KERNEL_HANDLE, then symbol is searched for
27// in kernel of program
28#define DYNL_KERNEL_HANDLE ((void*) 0x1)
29void *       dynl_sym(void *handle, char *symbol);
30int          dynl_close (void *handle);
31const char * dynl_error();
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* HAVE_DL */
38#endif /* MOD_RAW_H */
Note: See TracBrowser for help on using the repository browser.