1 
2 /*
3  * Copyright � 2001 Novell, Inc. All Rights Reserved.
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 /*
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.
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);
39 	void PerlFree(PerlInterpreter *my_perl);
40 
41 	//bool RegisterWithThreadTable(void);
42 	//bool UnregisterWithThreadTable(void);
43 };
44 
45 
46 #endif	// __Interface_H__
47 
48