1.1 --- a/common.h Fri Dec 09 19:33:15 2022 +0100
1.2 +++ b/common.h Sat Dec 10 01:28:22 2022 +0100
1.3 @@ -28,8 +28,9 @@
1.4
1.5 void open_error(const char *dir, const char *name);
1.6
1.7 -/* Filename manipulation. */
1.8 +/* Filename testing and manipulation. */
1.9
1.10 +int is_basename(char *path);
1.11 char *make_basename(const char *path);
1.12 char *make_dirname(const char *path);
1.13
1.14 @@ -37,6 +38,10 @@
1.15
1.16 FILE *get_output_file(const char *filename_template, const char *dir, const char *name);
1.17
1.18 +/* Interface testing. */
1.19 +
1.20 +int is_compound_interface(struct interface *iface);
1.21 +
1.22 /* Interface attribute access. */
1.23
1.24 char *get_attribute_value(struct attribute *attr, const char *name);
1.25 @@ -80,7 +85,7 @@
1.26 void count_parameters(struct parameter *param, int *input_words,
1.27 int *input_items, int *output_words, int *output_items);
1.28
1.29 -int get_max_input_items(struct signature *sig);
1.30 +int get_max_input_items(struct interface *iface);
1.31
1.32 /* Message access details. */
1.33