summaryrefslogtreecommitdiffstats
path: root/private/windows/diamond/chuck/erf.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/windows/diamond/chuck/erf.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/windows/diamond/chuck/erf.h')
-rw-r--r--private/windows/diamond/chuck/erf.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/private/windows/diamond/chuck/erf.h b/private/windows/diamond/chuck/erf.h
new file mode 100644
index 000000000..b39871105
--- /dev/null
+++ b/private/windows/diamond/chuck/erf.h
@@ -0,0 +1,27 @@
+/*** erf.h - Definitions for Error Reporting
+ *
+ * History:
+ * 10-Aug-1993 bens Initial version
+ * 11-Feb-1994 bens Remove all message-related stuff
+ */
+
+#ifndef INCLUDED_FCI_ERF
+#define INCLUDED_FCI_ERF 1
+
+
+/*** ErfSetCodes - Set error codes (no message formatting)
+ *
+ * Entry
+ * perf - ERF structure to receive formatted message
+ * erfOper - Internal error code
+ * erfType - errno value (usually)
+ *
+ * Exit-Success
+ * perf - is filled in with appropriate error fields
+ *
+ * Exit-Failure
+ * perf filled in with message describing bad arguments.
+ */
+void ErfSetCodes(PERF perf, int erfOper, int erfType);
+
+#endif // !INCLUDED_FCI_ERF