projects
/
media-ctl.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print v4l parser position on error
[media-ctl.git]
/
src
/
tools.h
diff --git
a/src/tools.h
b/src/tools.h
index
e56edb2
..
e64b37e
100644
(file)
--- a/
src/tools.h
+++ b/
src/tools.h
@@
-23,6
+23,10
@@
#define __TOOLS_H__
#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
+#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
+
+void media_print_streampos(struct media_device *media, const char *p,
+ const char *end);
#endif /* __TOOLS_H__ */