#ifndef __HIT_DC_H #define __HIT_DC_H typedef struct h_DC { int chmbnb; int xy; double drift_l; double hit_t; } Hit_DC; typedef struct h_DC_list { struct h_DC_list *next; struct h_DC hit_dc; } Hit_DC_List; /*---structure declaration---*/ Hit_DC_List hit_dc_list; /*---forward declaration---*/ void hit_dc_list_init (); Hit_DC_List* hit_dc_list_first (); void hit_dc_list_remove_all (); Hit_DC_List* hit_dc_list_create (); Hit_DC_List* hit_dc_list_last ( Hit_DC_List* pList ); Hit_DC_List* hit_dc_list_add ( int chmbnb, int xy, double drift_l, double hit_t ); int hit_dc_list_read ( FILE *fp, int read_line, int read_mode ); #endif /* __HIT_DC_H */