#ifndef ATSC30_PARSER_ALP_PARSER_COMMON_H
#define ATSC30_PARSER_ALP_PARSER_COMMON_H

#define UINTPTR_T_NULL ((uintptr_t)NULL)

typedef enum {
	ALP_SUCCESS = 0,
	ALP_ERROR = 1,
	ALP_NULL_PTR = 2,
	ALP_BUF_UNDERFLOW = 3,
	ALP_PARSE_ERR_BASE_HDR = 4,
	ALP_PARSE_ERR_INVALID_ENCAP_TYPE = 5,
	ALP_PARSE_ERROR_ADD_HDR2 = 6,
	ALP_FAIL_LLS_CB = 7,
	ALP_CODE_FAIL_DATA_CB = 8,
	ALP_FAIL_BAD_LLS_TYPE = 9,
	ALP_FILTER_OUT = 10,
	ALP_FAIL_DECOMPRESS = 11,
	ALP_FAIL_PACKT_TYPE_NOT_SUPPORT = 12,
	ALP_NO_PAYLOAD_PRIVATE_PACKET = 13,
	ALP_HANDLE_PRIV_PLP_ID_ERROR = 14,
	ALP_FAIL_NO_PLP_CONTEXT = 15,
	ALP_WAIT_FOR_CONTEXT_TO_ESTABLISH = 16,
	ALP_FAIL_PARSE_RDT = 17,
	ALP_FAIL_INVALID_DECOMPRESSOR = 18,
	ALP_SEGMENT_BUF_ERROR = 19,
	ALP_FAIL_FILTER_ERROR = 20,
	ALP_PRIVATE_PKT_PLP_ID = 21,
	ALP_PRIVATE_PKT_PTP = 22,
} ALP_RET_CODE_T;

#endif /* ATSC30_PARSER_ALP_PARSER_COMMON_H */
