Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
v4l2_subscribed_event_ops Struct Reference

#include <v4l2-event.h>

Data Fields

int(* add )(struct v4l2_subscribed_event *sev, unsigned elems)
 
void(* del )(struct v4l2_subscribed_event *sev)
 
void(* replace )(struct v4l2_event *old, const struct v4l2_event *new)
 
void(* merge )(const struct v4l2_event *old, struct v4l2_event *new)
 

Detailed Description

struct v4l2_subscribed_event_ops - Subscribed event operations. : Optional callback, called when a new listener is added : Optional callback, called when a listener stops listening : Optional callback that can replace event 'old' with event 'new'. : Optional callback that can merge event 'old' into event 'new'.

Definition at line 87 of file v4l2-event.h.

Field Documentation

int(* add)(struct v4l2_subscribed_event *sev, unsigned elems)

Definition at line 88 of file v4l2-event.h.

Definition at line 89 of file v4l2-event.h.

void(* merge)(const struct v4l2_event *old, struct v4l2_event *new)

Definition at line 91 of file v4l2-event.h.

void(* replace)(struct v4l2_event *old, const struct v4l2_event *new)

Definition at line 90 of file v4l2-event.h.


The documentation for this struct was generated from the following file: