msghdr.c: move all mmsghdr parsers to a separate file
* msghdr.h (print_struct_msghdr): New prototype.
* msghdr.c (print_msghdr): Rename to print_struct_msghdr, remove
static qualifier, all callers changed.
(decode_mmsghdr, decode_mmsgvec, dumpiov_in_mmsghdr): Move to ...
* mmsghdr.c: ... new file.
* Makefile.am (strace_SOURCES): Add it.
diff --git a/msghdr.h b/msghdr.h
index 9cf9854..41a07d7 100644
--- a/msghdr.h
+++ b/msghdr.h
@@ -11,4 +11,7 @@
};
# endif
+struct tcb;
+extern void print_struct_msghdr(struct tcb *, const struct msghdr *, const int *, unsigned long);
+
#endif /* MSGHDR_H_ */