summaryrefslogtreecommitdiff
path: root/expect/exp_rename.h
diff options
context:
space:
mode:
Diffstat (limited to 'expect/exp_rename.h')
-rw-r--r--expect/exp_rename.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/expect/exp_rename.h b/expect/exp_rename.h
new file mode 100644
index 00000000000..be67efb7a07
--- /dev/null
+++ b/expect/exp_rename.h
@@ -0,0 +1,22 @@
+/* translate.h - preface globals that appear in the expect library
+with "exp_" so we don't conflict with the user. This saves me having
+to use exp_XXX throughout the expect program itself, which was written
+well before the library when I didn't have to worry about name conflicts.
+
+Written by: Don Libes, 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.
+*/
+
+#define errorlog exp_errorlog
+#define debuglog exp_debuglog
+#define is_debugging exp_is_debugging
+#define logfile exp_logfile
+#define debugfile exp_debugfile
+#define loguser exp_loguser
+#define logfile_all exp_logfile_all
+
+#define getptymaster exp_getptymaster
+#define getptyslave exp_getptyslave