aboutsummaryrefslogtreecommitdiff
path: root/captain/codes.f90
diff options
context:
space:
mode:
Diffstat (limited to 'captain/codes.f90')
-rw-r--r--captain/codes.f9023
1 files changed, 23 insertions, 0 deletions
diff --git a/captain/codes.f90 b/captain/codes.f90
new file mode 100644
index 0000000..be6c07e
--- /dev/null
+++ b/captain/codes.f90
@@ -0,0 +1,23 @@
+module http_codes
+implicit none
+
+ integer, parameter::HTTP_CODE_SUCCESS = 200
+ integer, parameter::HTTP_CODE_NOTFOUND = 404
+ integer, parameter::HTTP_CODE_FAILURE = 500
+ integer, parameter::HTTP_CODE_REDIRECT = 302
+ integer, parameter::HTTP_CODE_UNAUTHORIZED = 401
+
+end module http_codes
+
+module gemini_codes
+implicit none
+
+ integer, parameter::GEMINI_CODE_INPUT = 10
+ integer, parameter::GEMINI_CODE_INPUT_PW = 11
+ integer, parameter::GEMINI_CODE_SUCCESS = 20
+ integer, parameter::GEMINI_CODE_REDIRECT = 30
+ integer, parameter::GEMINI_CODE_TEMPFAIL = 40
+ integer, parameter::GEMINI_CODE_PERMFAIL = 50
+ integer, parameter::GEMINI_CODE_BAD_REQUEST = 59
+
+end module gemini_codes \ No newline at end of file