summaryrefslogtreecommitdiff
path: root/NetWare/iperlhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'NetWare/iperlhost.h')
-rw-r--r--NetWare/iperlhost.h45
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__
+