V4L/DVB (9071): S2API: Implement result codes for individual commands

This allows application developers to determine which particular
command in a sequence is invalid, or failing with error.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Steven Toth
2008-09-26 00:16:25 -03:00
committed by Mauro Carvalho Chehab
parent 459702bf98
commit d48cb402a1
2 changed files with 9 additions and 4 deletions

View File

@@ -323,6 +323,7 @@ struct dtv_property {
void *reserved2;
} buffer;
} u;
int result;
} __attribute__ ((packed));
/* No more than 16 properties during any given ioctl */