summaryrefslogtreecommitdiff
path: root/exp_int.h
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 17:21:04 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 17:21:04 -0800
commite0b431a48cc3ac5d3ec32f06eddd9708ad655fa2 (patch)
treece4c73521220fbb751c2be6a42e85ff6a6cbff97 /exp_int.h
downloadexpect-e0b431a48cc3ac5d3ec32f06eddd9708ad655fa2.tar.gz
expect-e0b431a48cc3ac5d3ec32f06eddd9708ad655fa2.tar.bz2
expect-e0b431a48cc3ac5d3ec32f06eddd9708ad655fa2.zip
Imported Upstream version 5.45upstream/5.45
Diffstat (limited to 'exp_int.h')
-rw-r--r--exp_int.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/exp_int.h b/exp_int.h
new file mode 100644
index 0000000..a7cd496
--- /dev/null
+++ b/exp_int.h
@@ -0,0 +1,39 @@
+/* exp_int.h - private symbols common to both expect program and library
+
+Written by: Don Libes, libes@cme.nist.gov, NIST, 12/3/90
+
+Design and implementation of this program was paid for by U.S. tax
+dollars. Therefore it is public domain. However, the author and NIST
+would appreciate credit if this program or parts of it are used.
+*/
+
+#ifndef _EXPECT_INT_H
+#define _EXPECT_INT_H
+
+#ifndef TRUE
+#define FALSE 0
+#define TRUE 1
+#endif
+
+#ifndef HAVE_MEMCPY
+#define memcpy(x,y,len) bcopy(y,x,len)
+#endif
+
+#include <errno.h>
+
+void exp_console_set _ANSI_ARGS_((void));
+void expDiagLogPtrSet _ANSI_ARGS_((void (*)_ANSI_ARGS_((char *))));
+void expDiagLogPtr _ANSI_ARGS_((char *));
+void expDiagLogPtrX _ANSI_ARGS_((char *,int));
+void expDiagLogPtrStr _ANSI_ARGS_((char *,char *));
+void expDiagLogPtrStrStr _ANSI_ARGS_((char *,char *,char *));
+void expErrnoMsgSet _ANSI_ARGS_((char * (*) _ANSI_ARGS_((int))));
+char * expErrnoMsg _ANSI_ARGS_((int));
+
+#ifdef NO_STDLIB_H
+# include "../compat/stdlib.h"
+#else
+# include <stdlib.h> /* for malloc */
+#endif /*NO_STDLIB_H*/
+
+#endif /* _EXPECT_INT_H */