Rename printf to prevent naming conflict. Also change comment to conform with Rockbox...
[kugel-rb.git] / firmware / export / iap.h
blobb6d6e64d687f403d2fc3e447e2f884fc594bd78a
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Alan Korr
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __IAP_H__
21 #define __IAP_H__
23 #define RX_BUFLEN 260
24 #define TX_BUFLEN 128
26 extern int iap_getc(unsigned char x);
27 extern void iap_setup(int ratenum);
28 extern void iap_bitrate_set(int ratenum);
29 extern void iap_periodic(void);
30 extern void iap_handlepkt(void);
31 extern void iap_send_pkt(const unsigned char * data, int len);
32 extern unsigned char serbuf[RX_BUFLEN];
34 #endif