#ifndef rptidx_H #define rptidx_H #include #include #include struct output_ty; /* existence */ #ifndef rptidx_where_DEF #define rptidx_where_DEF #define rptidx_where_name_mask ((unsigned long)0) #define rptidx_where_description_mask ((unsigned long)0) #define rptidx_where_filename_mask ((unsigned long)0) typedef struct rptidx_where *rptidx_where; struct rptidx_where { long reference_count; unsigned long mask; string_ty *name; string_ty *description; string_ty *filename; }; #endif /* rptidx_where_DEF */ extern type_ty rptidx_where_type; void rptidx_where_write _((struct output_ty *, char *, rptidx_where)); rptidx_where rptidx_where_copy _((rptidx_where)); #ifndef rptidx_where_list_DEF #define rptidx_where_list_DEF typedef struct rptidx_where_list *rptidx_where_list; struct rptidx_where_list { size_t length; size_t maximum; rptidx_where *list; }; #endif /* rptidx_where_list_DEF */ extern type_ty rptidx_where_list_type; void rptidx_where_list_write _((struct output_ty *, char *, rptidx_where_list)); #ifndef rptidx_DEF #define rptidx_DEF #define rptidx_where_mask ((unsigned long)0) typedef struct rptidx *rptidx; struct rptidx { long reference_count; unsigned long mask; rptidx_where_list where; }; #endif /* rptidx_DEF */ extern type_ty rptidx_type; void rptidx_write _((struct output_ty *, rptidx)); rptidx rptidx_copy _((rptidx)); void rptidx_write_file _((string_ty *filename, rptidx value, int comp)); rptidx rptidx_read_file _((string_ty *filename)); void rptidx__rpt_init _((void)); #endif /* rptidx_H */