File: interface.h

package info (click to toggle)
perl 5.8.4-8sarge6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 58,128 kB
  • ctags: 31,422
  • sloc: perl: 224,262; ansic: 155,398; sh: 32,253; pascal: 7,747; lisp: 6,121; makefile: 2,341; cpp: 2,035; yacc: 1,019; java: 23
file content (47 lines) | stat: -rw-r--r-- 956 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

/*
 * Copyright  2001 Novell, Inc. All Rights Reserved.
 *
 * You may distribute under the terms of either the GNU General Public
 * License or the Artistic License, as specified in the README file.
 *
 */

/*
 * FILENAME     :   interface.c
 * DESCRIPTION  :   Perl parsing and running functions.
 * Author       :   SGP
 * Date Created :   January 2001.
 * Date Modified:   July 2nd 2001. 
 */



#ifndef __Interface_H__
#define __Interface_H__


#include "iperlhost.h"


class ClsPerlHost :	public IPerlHost
{
public:
	ClsPerlHost(void);
	virtual ~ClsPerlHost(void);

	int VersionNumber();

	int PerlCreate(PerlInterpreter *my_perl);
	int PerlParse(PerlInterpreter *my_perl, int argc, char** argv, char** env);
	int PerlRun(PerlInterpreter *my_perl);
	void PerlDestroy(PerlInterpreter *my_perl);
	void PerlFree(PerlInterpreter *my_perl);

	//bool RegisterWithThreadTable(void);
	//bool UnregisterWithThreadTable(void);
};


#endif	// __Interface_H__