diff options
| author | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-09-27 02:23:53 +0300 |
|---|---|---|
| committer | Mr. Goblin <mrgoblin@mrgoblin.net> | 2026-09-27 02:23:53 +0300 |
| commit | 930a8d8f28ebfa31b1326ae2d42a35fa99d751cc (patch) | |
| tree | b862095d531685bb5ae8decaf108bf4f3dbdb97f /codes.h | |
| parent | a29297e707b089cc6e4bb00f3b331127aa585810 (diff) | |
http-like codes, some server skelet; git test
Diffstat (limited to 'codes.h')
| -rw-r--r-- | codes.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 */ |
