aboutsummaryrefslogtreecommitdiff
path: root/codes.h
diff options
context:
space:
mode:
Diffstat (limited to 'codes.h')
-rw-r--r--codes.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/codes.h b/codes.h
new file mode 100644
index 0000000..db2ecbe
--- /dev/null
+++ b/codes.h
@@ -0,0 +1,19 @@
+#ifndef _H_SENTRY
+#define _H_SENTRY
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define CODE_200_STR "OK"
+#define CODE_201_STR "Created"
+#define CODE_400_STR "Bad request"
+#define CODE_401_STR "Unauthorized"
+#define CODE_403_STR "Forbidden"
+#define CODE_404_STR "Not found"
+#define CODE_409_STR "Conflict"
+#define CODE_503_STR "Service unavailable"
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* _H_SENTRY */