summaryrefslogtreecommitdiff
path: root/src/tet3/inc/dtetlib.h
diff options
context:
space:
mode:
authorjamey <jamey>2005-10-31 23:09:06 +0000
committerjamey <jamey>2005-10-31 23:09:06 +0000
commit429ed4219a23e356fbbf0066a4330353e4e764a2 (patch)
treed928257f9b7715dad66711e065a9765252bfbaae /src/tet3/inc/dtetlib.h
parent41fe38e5829b9ef59b67fae5d08ee0ca5ea6b803 (diff)
Importing TET 3.3h (unsupported) sources from http://tetworks.opengroup.org/tet/tet3.3h-unsup.src.tgz.
Omitted the contrib directory: we don't care, and the license situation wasn't entirely clear.
Diffstat (limited to 'src/tet3/inc/dtetlib.h')
-rw-r--r--src/tet3/inc/dtetlib.h111
1 files changed, 111 insertions, 0 deletions
diff --git a/src/tet3/inc/dtetlib.h b/src/tet3/inc/dtetlib.h
new file mode 100644
index 00000000..7f299069
--- /dev/null
+++ b/src/tet3/inc/dtetlib.h
@@ -0,0 +1,111 @@
+/*
+ * SCCS: @(#)dtetlib.h 1.19 (98/08/28)
+ *
+ * UniSoft Ltd., London, England
+ *
+ * (C) Copyright 1992 X/Open Company Limited
+ * (C) Copyright 1994 UniSoft Ltd.
+ *
+ * All rights reserved. No part of this source code may be reproduced,
+ * stored in a retrieval system, or transmitted, in any form or by any
+ * means, electronic, mechanical, photocopying, recording or otherwise,
+ * except as stated in the end-user licence agreement, without the prior
+ * permission of the copyright owners.
+ *
+ * X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
+ * the UK and other countries.
+ */
+
+/************************************************************************
+
+SCCS: @(#)dtetlib.h 1.19 98/08/28 TETware release 3.3
+NAME: dtetlib.h
+PRODUCT: TETware
+AUTHOR: Andrew Dingwall, UniSoft Ltd.
+DATE CREATED: April 1992
+
+DESCRIPTION:
+ declarations for extern dtetlib functions not declared in other
+ header files
+
+MODIFICATIONS:
+ Denis McConalogue, UniSoft Limited, August 1993
+ added prototypes for the functions in fcopy.c
+
+ Denis McConalogue, UniSoft Limited, September 1993
+ added prototype for pmatch() in fcopy.c
+
+ Andrew Dingwall, UniSoft Ltd., February 1994
+ enhancements for FIFO interface
+
+ Geoff Clare, UniSoft Ltd., Sept 1996
+ Added functions from sigsafe.c
+
+ Andrew Dingwall, UniSoft Ltd., May 1997
+ added functions for the Windows 95 port
+
+ Andrew Dingwall, UniSoft Ltd., July 1997
+ added support the MT DLL version of the C runtime support library
+ on Win32 systems
+
+ Andrew Dingwall, UniSoft Ltd., July 1998
+ Added support for shared API libraries.
+
+
+************************************************************************/
+
+/* extern function declarations */
+extern char **tet_addargv PROTOLIST((char **, char **));
+extern int tet_addresult PROTOLIST((int, int));
+TET_IMPORT_FUNC(char *, tet_basename, PROTOLIST((char *)));
+TET_IMPORT_FUNC(int, tet_bufchk, PROTOLIST((char **, int *, int)));
+TET_IMPORT_FUNC(int, tet_buftrace,
+ PROTOLIST((char **, int *, int, char *, int)));
+extern int tet_eaccess PROTOLIST((char *, int));
+extern char *tet_equindex PROTOLIST((char *));
+extern char *tet_errname PROTOLIST((int));
+extern int tet_fappend PROTOLIST((int));
+extern int tet_fcopy PROTOLIST((char *, char *));
+extern int tet_fgetargs PROTOLIST((FILE *, char **, int));
+extern int tet_fioclex PROTOLIST((int));
+extern void tet_generror PROTOLIST((int, char *, int, char *, char *));
+TET_IMPORT_FUNC(void, tet_genfatal,
+ PROTOLIST((int, char *, int, char *, char *)));
+TET_IMPORT_FUNC(int, tet_getargs, PROTOLIST((char *, char **, int)));
+extern int tet_getdtablesize PROTOLIST((void));
+extern int tet_getrescode PROTOLIST((char *, int *));
+extern char *tet_getresname PROTOLIST((int, int *));
+extern void tet_hexdump PROTOLIST((char *, int, FILE *));
+extern int tet_initrestab PROTOLIST((void));
+extern int tet_maperrno PROTOLIST((int));
+extern int tet_mapsignal PROTOLIST((int));
+extern int tet_mapstatus PROTOLIST((int));
+extern int tet_mkalldirs PROTOLIST((char *));
+extern int tet_mkdir PROTOLIST((char *, int));
+extern int tet_mkoptarg PROTOLIST((char *, int, char *, int));
+extern char *tet_mktfname PROTOLIST((char *));
+extern void tet_prerror PROTOLIST((FILE *, int, char *, char *, int, char *,
+ char *));
+extern char *tet_ptflags PROTOLIST((int));
+TET_IMPORT_FUNC(char *, tet_ptptype, PROTOLIST((int)));
+TET_IMPORT_FUNC(char *, tet_ptrepcode, PROTOLIST((int)));
+TET_IMPORT_FUNC(char *, tet_ptreqcode, PROTOLIST((int)));
+extern char *tet_ptstate PROTOLIST((int));
+extern char *tet_ptsvote PROTOLIST((int));
+extern int tet_putenv PROTOLIST((char *));
+extern int tet_readrescodes PROTOLIST((char *));
+extern char *tet_remvar PROTOLIST((char *, int));
+extern int tet_remvar_sysid PROTOLIST((char *));
+extern int tet_rmdir PROTOLIST((char *));
+TET_IMPORT_FUNC(char *, tet_strstore, PROTOLIST((char *)));
+extern void tet_tiocnotty PROTOLIST((void));
+extern int tet_unmaperrno PROTOLIST((int));
+extern int tet_unmapsignal PROTOLIST((int));
+
+#ifndef TET_LITE /* -START-LITE-CUT- */
+ TET_IMPORT_FUNC(char *, tet_systate, PROTOLIST((int)));
+#endif /* -END-LITE-CUT- */
+
+ extern int tet_dofork PROTOLIST((void));
+ extern int tet_dowait3 PROTOLIST((int *, int));
+