linux/include/linux/isdn/capiutil.h

/* $Id: capiutil.h,v 1.5.6.2 2001/09/23 22:24:33 kai Exp $
 *
 * CAPI 2.0 defines & types
 *
 * From CAPI 2.0 Development Kit AVM 1995 (msg.c)
 * Rewritten for Linux 1996 by Carsten Paeth <[email protected]>
 *
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 *
 */

#ifndef __CAPIUTIL_H__
#define __CAPIUTIL_H__

#include <asm/types.h>

#define CAPIMSG_BASELEN
#define CAPIMSG_U8(m, off)
#define CAPIMSG_U16(m, off)
#define CAPIMSG_U32(m, off)
#define CAPIMSG_LEN(m)
#define CAPIMSG_APPID(m)
#define CAPIMSG_COMMAND(m)
#define CAPIMSG_SUBCOMMAND(m)
#define CAPIMSG_CMD(m)
#define CAPIMSG_MSGID(m)
#define CAPIMSG_CONTROLLER(m)
#define CAPIMSG_CONTROL(m)
#define CAPIMSG_NCCI(m)
#define CAPIMSG_DATALEN(m)

static inline void capimsg_setu8(void *m, int off, __u8 val)
{}

static inline void capimsg_setu16(void *m, int off, __u16 val)
{}

static inline void capimsg_setu32(void *m, int off, __u32 val)
{}

#define CAPIMSG_SETLEN(m, len)
#define CAPIMSG_SETAPPID(m, applid)
#define CAPIMSG_SETCOMMAND(m,cmd)
#define CAPIMSG_SETSUBCOMMAND(m, cmd)
#define CAPIMSG_SETMSGID(m, msgid)
#define CAPIMSG_SETCONTROL(m, contr)
#define CAPIMSG_SETDATALEN(m, len)

#endif				/* __CAPIUTIL_H__ */