Xenomai API  2.6.5
descriptor.c File Reference

Analogy for Linux, descriptor related features. More...

Include dependency graph for descriptor.c:

Functions

int a4l_sys_desc (int fd, a4l_desc_t *dsc, int pass)
 Get a descriptor on an attached device. More...
 
int a4l_open (a4l_desc_t *dsc, const char *fname)
 Open an Analogy device and basically fill the descriptor. More...
 
int a4l_close (a4l_desc_t *dsc)
 Close the Analogy device related with the descriptor. More...
 
int a4l_fill_desc (a4l_desc_t *dsc)
 Fill the descriptor with subdevices, channels and ranges data. More...
 
int a4l_get_subdinfo (a4l_desc_t *dsc, unsigned int subd, a4l_sbinfo_t **info)
 Get an information structure on a specified subdevice. More...
 
int a4l_get_chinfo (a4l_desc_t *dsc, unsigned int subd, unsigned int chan, a4l_chinfo_t **info)
 Get an information structure on a specified channel. More...
 
int a4l_get_rnginfo (a4l_desc_t *dsc, unsigned int subd, unsigned int chan, unsigned int rng, a4l_rnginfo_t **info)
 Get an information structure on a specified range. More...
 

Detailed Description

Analogy for Linux, descriptor related features.

Note
Copyright (C) 1997-2000 David A. Schleef ds@sc.nosp@m.hlee.nosp@m.f.org
Copyright (C) 2008 Alexis Berlemont alexi.nosp@m.s.be.nosp@m.rlemo.nosp@m.nt@f.nosp@m.ree.f.nosp@m.r

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.