/*
* parse_desc.h
*
* Created on: 2 Apr 2011
* Author: sdprice1
*/
#ifndef PARSE_DESC_H_
#define PARSE_DESC_H_
/*=============================================================================================*/
// USES
/*=============================================================================================*/
#include "desc_structs.h"
/*=============================================================================================*/
// CONSTANTS
/*=============================================================================================*/
/*=============================================================================================*/
// MACROS
/*=============================================================================================*/
/*=============================================================================================*/
// STRUCTS
/*=============================================================================================*/
/*=============================================================================================*/
// FUNCTIONS
/*=============================================================================================*/
/* ----------------------------------------------------------------------- */
void print_desc(struct Descriptor *descriptor, int level) ;
void print_desc_list(struct list_head *descriptors_array, int level) ;
/* ----------------------------------------------------------------------- */
void free_desc(struct Descriptor *descriptor) ;
void free_descriptors_list(struct list_head *desc_array) ;
enum TS_descriptor_ids parse_desc(struct list_head *descriptors_array, struct TS_bits *bits, unsigned decode_descriptor);
#endif /* PARSE_DESC_H_ */