Summary Files Commits Branches @commit @diff @stats
path: root / src / http / response_code.h
blob: f5cd191bd5f00a3adff5426080378c7a07ba0f91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __TERGIV_RESPONSE_CODE
#define __TERGIV_RESPONSE_CODE

enum ResponseCode {
	RC_200_OK,
	RC_403_FORBIDDEN,
	RC_404_NOT_FOUND,
	RC_500_INTERNAL_SERVER_ERRROR,
	RC_LENGTH
};

static const char* RESPONSE_CODE_NAME[] = {
	"200 OK",
	"403 FORBIDDEN",
	"404 NOT_FOUND",
};

#endif /* __TERGIV_RESPONSE_CODE */