diff options
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 */ |
