Commit | Line | Data |
---|---|---|
2986a63f JH |
1 | |
2 | /* | |
cdad3b53 | 3 | * Copyright © 2001 Novell, Inc. All Rights Reserved. |
2986a63f JH |
4 | * |
5 | * You may distribute under the terms of either the GNU General Public | |
6 | * License or the Artistic License, as specified in the README file. | |
7 | * | |
8 | */ | |
9 | ||
10 | /* | |
9219c8de JH |
11 | * FILENAME : interface.c |
12 | * DESCRIPTION : Perl parsing and running functions. | |
13 | * Author : SGP | |
14 | * Date Created : January 2001. | |
15 | * Date Modified: July 2nd 2001. | |
2986a63f JH |
16 | */ |
17 | ||
18 | ||
19 | ||
20 | #ifndef __Interface_H__ | |
21 | #define __Interface_H__ | |
22 | ||
23 | ||
24 | #include "iperlhost.h" | |
25 | ||
26 | ||
27 | class ClsPerlHost : public IPerlHost | |
28 | { | |
29 | public: | |
30 | ClsPerlHost(void); | |
31 | virtual ~ClsPerlHost(void); | |
32 | ||
33 | int VersionNumber(); | |
34 | ||
35 | int PerlCreate(PerlInterpreter *my_perl); | |
36 | int PerlParse(PerlInterpreter *my_perl, int argc, char** argv, char** env); | |
37 | int PerlRun(PerlInterpreter *my_perl); | |
38 | void PerlDestroy(PerlInterpreter *my_perl); | |
4d76e4b4 JH |
39 | void PerlFree(PerlInterpreter *my_perl); |
40 | ||
011f1a1a JH |
41 | //bool RegisterWithThreadTable(void); |
42 | //bool UnregisterWithThreadTable(void); | |
2986a63f JH |
43 | }; |
44 | ||
45 | ||
46 | #endif // __Interface_H__ | |
47 |