1 /* See LICENSE file for copyright and license details. */
10 #define LEN(x) (sizeof (x) / sizeof *(x))
12 struct property_spec {
19 int_least64_t property;
22 struct properties_compressed {
24 struct properties *data;
28 struct properties_major_minor {
34 int hextocp(const char *, size_t, uint_least32_t *cp);
36 void parse_file_with_callback(const char *, int (*callback)(const char *,
37 char **, size_t, char *, void *), void *payload);
39 void properties_compress(const struct properties *, struct properties_compressed *comp);
40 double properties_get_major_minor(const struct properties_compressed *,
41 struct properties_major_minor *);
42 void properties_print_lookup_table(char *, size_t *, size_t);
43 void properties_print_derived_lookup_table(char *, char *, size_t *, size_t,
44 int_least64_t (*get_value)(const struct properties *,
45 size_t), const void *);
47 void properties_generate_break_property(const struct property_spec *,
48 uint_least8_t, uint_least8_t
49 (*handle_conflict)(uint_least32_t,
50 uint_least8_t, uint_least8_t),
51 uint_least8_t (*post_process)
52 (uint_least8_t), const char *,
55 void break_test_list_parse(char *, struct break_test **, size_t *);
56 void break_test_list_print(const struct break_test *, size_t,
57 const char *, const char *);
58 void break_test_list_free(struct break_test *, size_t);