summaryrefslogtreecommitdiff
path: root/src/tet3/tcc/fake_in.c
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/tcc/fake_in.c
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/tcc/fake_in.c')
-rw-r--r--src/tet3/tcc/fake_in.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/tet3/tcc/fake_in.c b/src/tet3/tcc/fake_in.c
new file mode 100644
index 00000000..953669a9
--- /dev/null
+++ b/src/tet3/tcc/fake_in.c
@@ -0,0 +1,57 @@
+/*
+ * SCCS: @(#)fake_in.c 1.4 (97/07/21)
+ *
+ * UniSoft Ltd., London, England
+ *
+ * (C) Copyright 1996 X/Open Company Limited
+ *
+ * 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.
+ * A copy of the end-user licence agreement is contained in the file
+ * Licence which accompanies this distribution.
+ *
+ * X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
+ * the UK and other countries.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)fake_in.c 1.4 (97/07/21) TET3 release 3.3";
+#endif
+
+/************************************************************************
+
+SCCS: @(#)fake_in.c 1.4 97/07/21 TETware release 3.3
+NAME: fake_in.c
+PRODUCT: TETware
+AUTHOR: Andrew Dingwall, UniSoft Ltd.
+DATE CREATED: August 1996
+
+DESCRIPTION:
+ dummy functions referenced by the INET transport/specific code
+
+MODIFICATIONS:
+
+************************************************************************/
+
+#include <sys/types.h>
+#include "dtmac.h"
+#include "error.h"
+#include "dtmsg.h"
+#include "ptab.h"
+#include "server_in.h"
+
+#ifdef NEEDsrcFile
+static char srcFile[] = __FILE__; /* file name for error reporting */
+#endif
+
+/* tcc does not listen for or accept incoming connections */
+SOCKET tet_listen_sd = INVALID_SOCKET;
+
+void tet_ss_tsaccept()
+{
+ error(0, "internal error - tet_ss_tsaccept called!", (char *) 0);
+}
+