diff options
author | Alain Magloire | 2002-11-04 20:44:32 +0000 |
---|---|---|
committer | Alain Magloire | 2002-11-04 20:44:32 +0000 |
commit | c7f9164d44452361a051e7c278d6beba366008f2 (patch) | |
tree | a827261a9088d5d2caea7ec6e2f11c938764927c | |
parent | 050047dc9bce2af31b3a8741cc95e18b09006132 (diff) | |
download | org.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.tar.gz org.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.tar.xz org.eclipse.cdt-c7f9164d44452361a051e7c278d6beba366008f2.zip |
new file.
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 |