cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/*************************************************************************************
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Copyright (C) 2005 Bogdan D. bogdand@users.sourceforge.net
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Permission is hereby granted, free of charge, to any person obtaining a copy of this
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * software and associated documentation files (the "Software"), to deal in the Software
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * without restriction, including without limitation the rights to use, copy, modify,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * merge, publish, distribute, sublicense, and/or sell copies of the Software,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * The above copyright notice and this permission notice shall be included in all copies or
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * substantial portions of the Software.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Except as contained in this notice, the name of the author shall not be used in advertising or
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * otherwise to promote the sale, use or other dealings in this Software without prior written
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * authorization from the author.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Revision 1.3 2005/09/24 21:56:00 bogdand
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Changed the license to a X/MIT one
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Revision 1.2 2005/07/01 22:43:11 daniels
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Change all misc.h and os.h references to <X11/foo.h>.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync ************************************************************************************/
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsynctypedef struct {
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT UDA1380Ptr Detect_uda1380(I2CBusPtr b, I2CSlaveAddr addr);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_shutdown(UDA1380Ptr t);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_setvolume(UDA1380Ptr t, INT32);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_mute(UDA1380Ptr t, Bool);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#define xf86_uda1380_setparameters uda1380_setparameters
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_setparameters(UDA1380Ptr t);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_getstatus(UDA1380Ptr t);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncextern _X_EXPORT void uda1380_dumpstatus(UDA1380Ptr t);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "Detect_uda1380", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_init", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_shutdown", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_setvolume", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_mute", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_setparameters", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_getstatus", \
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync "uda1380_dumpstatus"