/* usb/lib/msg-mod.h
 *
 * (c) 2003 Simtec Electronics
 *
 * Ben Dooks
 *
 * USB Library: Utils to go with usbmsg_module
 *
 * $Id: msg-mod.h,v 1.2 2003/12/01 19:32:35 ben Exp $
 *
 * This Library file is part of the Simtec Electronics USB stack development
 *   suite.
 * Specific licence is granted to use this file by third parties for the
 *   development of USB device drivers.
 *
 */

#ifndef __USB_LIB_MSGMOD_H
#define __USB_LIB_MSGMOD_H "$Id: msg-mod.h,v 1.2 2003/12/01 19:32:35 ben Exp $"

/** Deal with usbmsg usbmsg_module's USBMSG_MODULE_LIST
 *
 * Automatically deal with USBMSG_MODULE_LIST
 *
 * @see USBMSG_MODULE_LIST
 * @see usbmsg_send
 */

extern int usblib_msg_module_list(struct usbmsg *msg,
				  struct usbmsg_module_def *def);


extern int usblib_send_modstatus(struct usbmsg_module_def *def,
				 enum usbmsg_module_req req);

#endif /* __USB_LIB_MSGMOD_H */
