diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-16 19:46:38 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-16 19:46:38 +0000 |
commit | 2986a63f7e513cf37f46db9f211b77071260031f (patch) | |
tree | 9a6e62602396938ea5a612420f53ebf267e8d941 /NetWare/iperlhost.h | |
parent | 87b11a197a59fac210fc9265bde0ef1ffe36de89 (diff) | |
download | perl-2986a63f7e513cf37f46db9f211b77071260031f.tar.gz |
NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.
p4raw-id: //depot/perl@10643
Diffstat (limited to 'NetWare/iperlhost.h')
-rw-r--r-- | NetWare/iperlhost.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/NetWare/iperlhost.h b/NetWare/iperlhost.h new file mode 100644 index 0000000000..e07a14f44e --- /dev/null +++ b/NetWare/iperlhost.h @@ -0,0 +1,45 @@ + +/* + * 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 : iperlhost.h + * DESCRIPTION : IPerlHost class file. + * Author : SGP + * Date : January 2001. + * + */ + + + +#ifndef __iPerlHost_H__ +#define __iPerlHost_H__ + + +#include "EXTERN.h" +#include "perl.h" + + +class IPerlHost +{ +public: + virtual int VersionNumber() = 0; + + virtual int PerlCreate(PerlInterpreter *my_perl) = 0; + virtual int PerlParse(PerlInterpreter *my_perl,int argc, char** argv, char** env) = 0; + virtual int PerlRun(PerlInterpreter *my_perl) = 0; + virtual void PerlDestroy(PerlInterpreter *my_perl) = 0; + +}; + +extern "C" IPerlHost* AllocStdPerl(); +extern "C" void FreeStdPerl(IPerlHost* pPerlHost); + + +#endif // __iPerlHost_H__ + |