Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2002-11-04 20:44:32 +0000
committerAlain Magloire2002-11-04 20:44:32 +0000
commitc7f9164d44452361a051e7c278d6beba366008f2 (patch)
treea827261a9088d5d2caea7ec6e2f11c938764927c
parent050047dc9bce2af31b3a8741cc95e18b09006132 (diff)
downloadorg.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.tar.gz
org.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.tar.xz
org.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.zip
new file.
-rw-r--r--core/org.eclipse.cdt.core.qnx/ChangeLog4
-rw-r--r--core/org.eclipse.cdt.core.qnx/library/pty/PTY.h21
-rw-r--r--core/org.eclipse.cdt.core.qnx/library/pty/PTYInputStream.h32
-rw-r--r--core/org.eclipse.cdt.core.qnx/library/pty/PTYOutputStream.h29
-rw-r--r--core/org.eclipse.cdt.core.qnx/library/pty/openpty.h10
5 files changed, 96 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.qnx/ChangeLog b/core/org.eclipse.cdt.core.qnx/ChangeLog
index 3d0cc250ab0..8f42cb40d11 100644
--- a/core/org.eclipse.cdt.core.qnx/ChangeLog
+++ b/core/org.eclipse.cdt.core.qnx/ChangeLog
@@ -3,6 +3,10 @@
* library/pty/pty.c: New file.
* library/pty/ptyio.c: New file.
* library/pty/openpty.c: New file.
+ * library/pty/openpty.h: New file.
+ * library/pty/PTY.h: new File.
+ * library/pty/PTYInputStream.h: new File.
+ * library/pty/PTYOutputStream.h: new File.
2002-10-17 Alain Magloire
diff --git a/core/org.eclipse.cdt.core.qnx/library/pty/PTY.h b/core/org.eclipse.cdt.core.qnx/library/pty/PTY.h
new file mode 100644
index 00000000000..fabf58152d0
--- /dev/null
+++ b/core/org.eclipse.cdt.core.qnx/library/pty/PTY.h
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_eclipse_cdt_utils_pty_PTY */
+
+#ifndef _Included_org_eclipse_cdt_utils_pty_PTY
+#define _Included_org_eclipse_cdt_utils_pty_PTY
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: org_eclipse_cdt_utils_pty_PTY
+ * Method: forkpty
+ * Signature: ()I
+ */
+JNIEXPORT jstring JNICALL Java_org_eclipse_cdt_utils_pty_PTY_forkpty
+ (JNIEnv *, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/core/org.eclipse.cdt.core.qnx/library/pty/PTYInputStream.h b/core/org.eclipse.cdt.core.qnx/library/pty/PTYInputStream.h
new file mode 100644
index 00000000000..e7349272b56
--- /dev/null
+++ b/core/org.eclipse.cdt.core.qnx/library/pty/PTYInputStream.h
@@ -0,0 +1,32 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_eclipse_cdt_utils_pty_PTYInputStream */
+
+#ifndef _Included_org_eclipse_cdt_utils_pty_PTYInputStream
+#define _Included_org_eclipse_cdt_utils_pty_PTYInputStream
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef org_eclipse_cdt_utils_pty_PTYInputStream_SKIP_BUFFER_SIZE
+#define org_eclipse_cdt_utils_pty_PTYInputStream_SKIP_BUFFER_SIZE 2048L
+/* Inaccessible static: skipBuffer */
+/*
+ * Class: org_eclipse_cdt_utils_pty_PTYInputStream
+ * Method: read0
+ * Signature: (I[BI)I
+ */
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_pty_PTYInputStream_read0
+ (JNIEnv *, jobject, jint, jbyteArray, jint);
+
+/*
+ * Class: org_eclipse_cdt_utils_pty_PTYInputStream
+ * Method: close0
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_pty_PTYInputStream_close0
+ (JNIEnv *, jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/core/org.eclipse.cdt.core.qnx/library/pty/PTYOutputStream.h b/core/org.eclipse.cdt.core.qnx/library/pty/PTYOutputStream.h
new file mode 100644
index 00000000000..fb28491060e
--- /dev/null
+++ b/core/org.eclipse.cdt.core.qnx/library/pty/PTYOutputStream.h
@@ -0,0 +1,29 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_eclipse_cdt_utils_pty_PTYOutputStream */
+
+#ifndef _Included_org_eclipse_cdt_utils_pty_PTYOutputStream
+#define _Included_org_eclipse_cdt_utils_pty_PTYOutputStream
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: org_eclipse_cdt_utils_pty_PTYOutputStream
+ * Method: write0
+ * Signature: (I[BI)I
+ */
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_pty_PTYOutputStream_write0
+ (JNIEnv *, jobject, jint, jbyteArray, jint);
+
+/*
+ * Class: org_eclipse_cdt_utils_pty_PTYOutputStream
+ * Method: close0
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_pty_PTYOutputStream_close0
+ (JNIEnv *, jobject, jint);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/core/org.eclipse.cdt.core.qnx/library/pty/openpty.h b/core/org.eclipse.cdt.core.qnx/library/pty/openpty.h
new file mode 100644
index 00000000000..fd7b7be1b2f
--- /dev/null
+++ b/core/org.eclipse.cdt.core.qnx/library/pty/openpty.h
@@ -0,0 +1,10 @@
+/*
+ * (c) Copyright QNX Software Systems Ltd. 2002.
+ * All Rights Reserved.
+ *
+ */
+#ifndef _OPENPTY_H
+#define _OPENPTY_H
+int ptym_open (char *pts_name);
+int ptys_open (int fdm, char * pts_name);
+#endif

Back to the top