summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-23 00:01:09 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-23 00:01:09 +0200
commit51dceb0ed3febf68d80faf0a5ddab6e75b60892d (patch)
treefb6b9f26175dfc050e7d9d9ce11c516f85d12583 /src/include
parent5335c44f98fb17d5349850219ddd3d3d6695caaa (diff)
downloadmerchant-51dceb0ed3febf68d80faf0a5ddab6e75b60892d.tar.gz
merchant-51dceb0ed3febf68d80faf0a5ddab6e75b60892d.tar.bz2
merchant-51dceb0ed3febf68d80faf0a5ddab6e75b60892d.zip
-update to match latest exchange APIs
Diffstat (limited to 'src/include')
-rw-r--r--src/include/platform.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 89fabb02..39ffa046 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -64,6 +64,31 @@
*/
#define RFC_8959_PREFIX "secret-token:"
+/* LSB-style exit status codes */
+#ifndef EXIT_INVALIDARGUMENT
+#define EXIT_INVALIDARGUMENT 2
+#endif
+
+#ifndef EXIT_NOTIMPLEMENTED
+#define EXIT_NOTIMPLEMENTED 3
+#endif
+
+#ifndef EXIT_NOPERMISSION
+#define EXIT_NOPERMISSION 4
+#endif
+
+#ifndef EXIT_NOTINSTALLED
+#define EXIT_NOTINSTALLED 5
+#endif
+
+#ifndef EXIT_NOTCONFIGURED
+#define EXIT_NOTCONFIGURED 6
+#endif
+
+#ifndef EXIT_NOTRUNNING
+#define EXIT_NOTRUNNING 7
+#endif
+
#endif /* PLATFORM_H_ */