#ifndef SOUND_FIREWIRE_LIB_H_INCLUDED#define SOUND_FIREWIRE_LIB_H_INCLUDED#include <linux/firewire-constants.h>#include <linux/types.h>structfw_unit;intsnd_fw_transaction(structfw_unit*unit,inttcode,u64offset,void*buffer,size_tlength);/* returns true if retrying the transaction would not make sense */staticinlineboolrcode_is_permanent_error(intrcode){returnrcode==RCODE_TYPE_ERROR||rcode==RCODE_ADDRESS_ERROR;}#endif