#ifndef tstrslt_H #define tstrslt_H #include #include #include struct output_ty; /* existence */ #ifndef tstrslt_test_result_DEF #define tstrslt_test_result_DEF #define tstrslt_test_result_file_name_mask ((unsigned long)0) #define tstrslt_test_result_exit_status_mask ((unsigned long)1 << 0) typedef struct tstrslt_test_result *tstrslt_test_result; struct tstrslt_test_result { long reference_count; unsigned long mask; string_ty *file_name; long exit_status; }; #endif /* tstrslt_test_result_DEF */ extern type_ty tstrslt_test_result_type; void tstrslt_test_result_write _((struct output_ty *, char *, tstrslt_test_result)); tstrslt_test_result tstrslt_test_result_copy _((tstrslt_test_result)); #ifndef tstrslt_test_result_list_DEF #define tstrslt_test_result_list_DEF typedef struct tstrslt_test_result_list *tstrslt_test_result_list; struct tstrslt_test_result_list { size_t length; size_t maximum; tstrslt_test_result *list; }; #endif /* tstrslt_test_result_list_DEF */ extern type_ty tstrslt_test_result_list_type; void tstrslt_test_result_list_write _((struct output_ty *, char *, tstrslt_test_result_list)); #ifndef tstrslt_DEF #define tstrslt_DEF #define tstrslt_test_result_mask ((unsigned long)0) typedef struct tstrslt *tstrslt; struct tstrslt { long reference_count; unsigned long mask; tstrslt_test_result_list test_result; }; #endif /* tstrslt_DEF */ extern type_ty tstrslt_type; void tstrslt_write _((struct output_ty *, tstrslt)); tstrslt tstrslt_copy _((tstrslt)); void tstrslt_write_file _((string_ty *filename, tstrslt value, int comp)); tstrslt tstrslt_read_file _((string_ty *filename)); void tstrslt__rpt_init _((void)); #endif /* tstrslt_H */