source: git/Singular/mod_raw.h @ 7d51c4

fieker-DuValspielwiese
Last change on this file since 7d51c4 was 6b32990, checked in by Olaf Bachmann <obachman@…>, 23 years ago
* dynamic kernel modules for MP and DBM links * p_Procs improvements git-svn-id: file:///usr/local/Singular/svn/trunk@4865 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 887 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.6 2000-12-12 08:44:48 obachman 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
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
21void *       dynl_open(char *filename);
22// if handle == DYNL_KERNEL_HANDLE, then symbol is searched for
23// in kernel of program
24#define DYNL_KERNEL_HANDLE ((void*) 0x1)
25void *       dynl_sym(void *handle, char *symbol);
26int          dynl_close (void *handle);
27const char * dynl_error();
28
29
30#endif /* HAVE_DL */
31#endif /* MOD_RAW_H */
Note: See TracBrowser for help on using the repository browser.