tizen 2.3.1 release
[external/alsa-lib.git] / src / names.c
1 /**
2  * \file names.c
3  * \ingroup Configuration
4  * \brief Configuration helper functions - device names
5  * \author Jaroslav Kysela <perex@perex.cz>
6  * \date 2005
7  *
8  * Provide a list of device names for applications.
9  *
10  * See the \ref conf page for more details.
11  */
12 /*
13  *  Configuration helper functions - device names
14  *  Copyright (c) 2005 by Jaroslav Kysela <perex@perex.cz>
15  *
16  *
17  *   This library is free software; you can redistribute it and/or modify
18  *   it under the terms of the GNU Lesser General Public License as
19  *   published by the Free Software Foundation; either version 2.1 of
20  *   the License, or (at your option) any later version.
21  *
22  *   This program is distributed in the hope that it will be useful,
23  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
24  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25  *   GNU Lesser General Public License for more details.
26  *
27  *   You should have received a copy of the GNU Lesser General Public
28  *   License along with this library; if not, write to the Free Software
29  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
30  *
31  */
32
33 #include <stdarg.h>
34 #include <limits.h>
35 #include <sys/stat.h>
36 #include "local.h"
37
38 /** 
39  * \brief This function is unimplemented.
40  * \deprecated Since 1.0.14
41  */
42 int snd_names_list(const char *iface ATTRIBUTE_UNUSED,
43                    snd_devname_t **list ATTRIBUTE_UNUSED)
44 {
45         return -ENXIO;
46 }
47 link_warning(snd_names_list, "Warning: snd_names_list is deprecated, use snd_device_name_hint");
48
49 /**
50  * \brief This function is unimplemented.
51  * \deprecated Since 1.0.14
52  */
53 void snd_names_list_free(snd_devname_t *list ATTRIBUTE_UNUSED)
54 {
55 }
56 link_warning(snd_names_list_free, "Warning: snd_names_list_free is deprecated, use snd_device_name_free_hint");