libexplain  1.4.D001
Enumerations | Functions
libexplain/buffer/v4l2_control_id.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Enumerations

enum  explain_v4l2_control_id_check_t { explain_v4l2_control_id_check_no_idea, explain_v4l2_control_id_check_nosuch, explain_v4l2_control_id_check_notsup, explain_v4l2_control_id_check_ok }

Functions

void explain_buffer_v4l2_control_id (explain_string_buffer_t *sb, int data)
enum
explain_v4l2_control_id_check_t 
explain_v4l2_control_id_check (int fildes, int data)

Enumeration Type Documentation

Enumerator:
explain_v4l2_control_id_check_no_idea 
explain_v4l2_control_id_check_nosuch 
explain_v4l2_control_id_check_notsup 
explain_v4l2_control_id_check_ok 

Definition at line 35 of file v4l2_control_id.h.


Function Documentation

The explain_buffer_v4l2_control_id function may be used to print a representation of a v4l2_control_id structure.

Parameters:
sbThe string buffer to print into.
dataThe v4l2 control id value to be printed.

The explain_v4l2_control_id_check function is used to check a control id.

Parameters:
fildesThe associated file descriptor
dataThe control id value to be checked.
Returns:
no_idea if the file descriptor is unhelpful or the pointer is efault, nosuch if there is no such control id, notsup if the control id exists, but is not supported by the device, ok if nothing wrong could be found.