1 /*
2  *  pvm_interface.h
3  *
4  *  Copyright (C) Marzio Malanchini - August 2003
5  *
6  *  This file is part of transcode, a video stream processing tool
7  *
8  *  transcode is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2, or (at your option)
11  *  any later version.
12  *
13  *  transcode is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with GNU Make; see the file COPYING.  If not, write to
20  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  */
23 
24 #ifndef _PVM_INTERFACE_H
25 #define _PVM_INTERFACE_H
26 
27 #ifdef HAVE_CONFIG_H
28 #include "config.h"
29 #endif
30 
31 #ifdef HAVE_DLFCN_H
32 #include <dlfcn.h>
33 #else
34 # ifdef OS_DARWIN
35 #  include "libdldarwin/dlfcn.h"
36 # endif
37 #endif
38 
39 #include <pvm_version.h>
40 
41 #define PVM_DL_FUNC 1
42 #include <pvm_functions.h>
43 
44 /* WHY we need to dlopen() this?! Why standard linkage isn't enough? -- FR */
45 void *f_init_pvm_func(char *p_option,void *p_ret_handle);
46 
47 #endif
48