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

flink userspace library, subdevice function "info". More...

#include "flinklib.h"
#include "types.h"
#include "error.h"
#include "log.h"
#include <stdint.h>
Include dependency graph for info.c:

Go to the source code of this file.

Functions

int flink_info_get_description (flink_subdev *subdev, char *desc)
 Reads the description field of an info subdevice. More...
 

Detailed Description

flink userspace library, subdevice function "info".

Contains the high-level functions for a flink subdevice which realizes the function "info".

Author
Urs Graf

Definition in file info.c.

Function Documentation

int flink_info_get_description ( flink_subdev subdev,
char *  desc 
)

Reads the description field of an info subdevice.

Parameters
subdevSubdevice.
descString containing the description.
Returns
int: 0 on success, -1 in case of failure.

Definition at line 37 of file info.c.