39 #define REQ_INVALID 0x01
40 #define POST_CONFIG 0x02
41 #define GET_STATUS 0x40
44 #define POST_ROUTING 0x20
45 #define CUSTOM_API 0x80
46 #define RequestType uint8_t
64 void parseHttpInput(
bool transferErr, ap_uint<1> wasAbort,
bool invalidPayload,
bool rx_done);
int8_t writeHttpStatus(int status, uint16_t content_length)
int my_atoi(char *str, int strlen)
void parseHttpInput(bool transferErr, ap_uint< 1 > wasAbort, bool invalidPayload, bool rx_done)
int writeUnsignedLong(unsigned long num, uint8_t base)
int request_len(ap_uint< 16 > offset, int maxLength)