#ifndef __HIT_SCI_H #define __HIT_SCI_H typedef struct h_sci { int ctnb; double trigger_t; } Hit_Sci; typedef struct h_sci_list { struct h_sci_list *next; struct h_sci hit_sci; } Hit_Sci_List; /*---structure declaration---*/ Hit_Sci_List hit_sci_list; /*---forward declaration---*/ void hit_sci_list_init (); Hit_Sci_List* hit_sci_list_first (); void hit_sci_list_remove_all (); Hit_Sci_List* hit_sci_list_create (); Hit_Sci_List* hit_sci_list_last ( Hit_Sci_List* pList ); Hit_Sci_List* hit_sci_list_add ( int ctnb, double trigger_t ); int hit_sci_list_read ( FILE *fp, int read_line, int read_mode ); #endif /* __HIT_SCI_H */