flinklib
flinklib: flink C library for Linux
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
valid.h File Reference

Contains validation functions for flink. More...

#include "types.h"
Include dependency graph for valid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int validate_flink_dev (flink_dev *dev)
 Checks if flink device was opened. More...
 
int validate_flink_subdev (flink_subdev *subdev)
 Checks if flink subdevice belongs to the device. More...
 

Detailed Description

Contains validation functions for flink.

Author
Martin Züger

Definition in file valid.h.

Function Documentation

int validate_flink_dev ( flink_dev dev)

Checks if flink device was opened.

Parameters
devflink device.
Returns
int: 1 if valid, 0 if not valid.

Definition at line 28 of file valid.c.

Here is the caller graph for this function:

int validate_flink_subdev ( flink_subdev subdev)

Checks if flink subdevice belongs to the device.

Parameters
devflink subdevice.
Returns
int: 1 if valid, 0 if not valid.

Definition at line 40 of file valid.c.

Here is the caller graph for this function: