-plugin_LTLIBRARIES = libfaultinjection.la
+plugin_LTLIBRARIES = libgstvalidatefaultinjection.la
-libfaultinjection_la_SOURCES = \
+libgstvalidatefaultinjection_la_SOURCES = \
socket_interposer.c
-libfaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
-libfaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
-libfaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
+libgstvalidatefaultinjection_la_CFLAGS = $(GST_ALL_CFLAGS)
+libgstvalidatefaultinjection_la_LIBADD = $(GST_ALL_LIBS) $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la
+libgstvalidatefaultinjection_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_ALL_LDFLAGS)
CLEANFILES =
gst_validate_register_action_type ("corrupt-socket-recv", gst_plugin_get_name (plugin),
_execute_corrupt_socket_recv, ((GstValidateActionParameter[]) {
{
- .name = "port",.description =
- "The port the socket to be corrupted listens on",.mandatory =
- TRUE,.types = "int",.possible_variables = NULL,}, {
- .name = "errno",.description =
- "errno to set when failing",.mandatory = TRUE,.types =
- "string",}, {
- .name = "times",.description =
- "Number of times to corrupt recv, default is one",.mandatory =
- FALSE,.types = "int",.possible_variables = NULL,.def = "1",}, {
- NULL}
+ .name = "port",
+ .description = "The port the socket to be corrupted listens on",
+ .mandatory = TRUE,
+ .types = "int",
+ .possible_variables = NULL,
+ },
+ {
+ .name = "errno",
+ .description = "errno to set when failing",
+ .mandatory = TRUE,
+ .types = "string",
+ },
+ {
+ .name = "times",
+ .description = "Number of times to corrupt recv, default is one",
+ .mandatory = FALSE,
+ .types = "int",
+ .possible_variables = NULL,
+ .def = "1",
+ },
+ {NULL}
}),
"corrupt the next socket receive", GST_VALIDATE_ACTION_TYPE_ASYNC);
/* *INDENT-ON* */