25 #define canCIRCUIT_ANY -1 26 #define canCARD_ANY -1 27 #define canCHANNEL_ANY -1 29 #define CANID_METAMSG (-1L) 30 #define CANID_WILDCARD (-2L) 39 typedef void* (*canMemoryAllocator) (
size_t size);
84 const unsigned int flags);
93 unsigned int * cardtype,
94 unsigned int * circtype,
102 #define canERR_BUFOFL canERR_RESERVED_3 103 #define canERR_REINIT canERR_RESERVED_4 104 #define canERR_MSGLOST canERR_RESERVED_5 105 #define canERR_OVERRUN canERR_RESERVED_6 106 #define canERR_CARDCOMMFAILED canERR_RESERVED_7 114 #define canCIRCSTAT_ERROR_PASSIVE 0x0001 115 #define canCIRCSTAT_BUS_OFF 0x0002 116 #define canCIRCSTAT_ERROR_WARNING 0x0004 124 #define canCHANNEL_CAP_DIAGNOSTICS 0x10000000L 125 #define canCHANNEL_CAP_CAN_DIAGNOSTICS canCHANNEL_CAP_RESERVED_2 126 #define canCHANNEL_CAP_REMOTE canCHANNEL_CAP_RESERVED_1 133 #define canSTICKY_ACK_ERROR 0x80000801 134 #define canSTICKY_FORM_ERROR 0x80000002 135 #define canSTICKY_STUFF_ERROR 0x80000004 136 #define canSTICKY_CRC_ERROR 0x80000008 137 #define canSTICKY_BIT0_ERROR 0x80000010 138 #define canSTICKY_BIT1_ERROR 0x80000020 139 #define canSTICKY_HW_OVERRUN 0x80000040 140 #define canSTICKY_SW_OVERRUN 0x80000080 143 #define canSTAT_INACTIVE canSTAT_RESERVED_1 175 #define canWANT_ACTIONS 0x01 176 #define canWANT_OWN_BUFFERS 0x02 177 #define canWANT_ERROR_COUNTERS 0x04 178 #define canWANT_EXCLUSIVE 0x08 179 #define canWANT_EXTENDED 0x10 180 #define canWANT_VIRTUAL 0x20 190 #define PCCAN_PHILIPS 1 191 #define PCCAN_INTEL526 2 192 #define PCCAN_INTEL527 3 193 #define CANCARD_NEC72005 4 194 #define CIRC_VIRTUAL 5 195 #define CIRC_SJA1000 6 203 #define canCARD_PCCAN 1 204 #define canCARD_CANCARD 2 205 #define canCARD_AC2 3 206 #define canCARD_LAPCAN 4 207 #define canCARD_ISACAN 5 208 #define canCARD_PCCAN_OEM 6 216 #define canFlgACCEPT 1 217 #define canFlgREJECT 2 227 #define canDISCARD_MESSAGE 3 228 #define canRETAIN_MESSAGE 4 237 #define canSLOW_MODE 0x01 247 #define canTRISTATE 1 249 #define canPULLDOWN 3 250 #define canPUSHPULL 4 251 #define canINVPULLUP 5 252 #define canINVPULLDOWN 6 253 #define canINVPUSHPULL 7 262 #define canIOCTL_LOCAL_ECHO_ON 3 263 #define canIOCTL_LOCAL_ECHO_OFF 4 265 #define canMSG_STATUS 0x0008 canMemoryAllocator alloc
Definition: obsolete.h:61
int canOpen(const canHWDescr *const hwdescr, const canSWDescr *const swdescr, const unsigned int flags)
canStatus canInstallAction(int handle, long id, int(*fn)())
Definition: obsolete.h:49
void *(* canMemoryAllocator)(size_t size)
Definition: obsolete.h:39
Definition: obsolete.h:68
int channel
Definition: obsolete.h:52
int cardType
Definition: obsolete.h:51
canStatus canGetCircuits(int *context, char *name, char *vendor, char *version, unsigned int *cardtype, unsigned int *circtype, unsigned int *channel)
canStatus canInstallOwnBuffer(int handle, long id, unsigned int len, void *buf)
int circuitType
Definition: obsolete.h:50
unsigned int size
Definition: obsolete.h:69
struct tagCanSWDescr canSWDescr
canStatus
Definition: canstat.h:34
canMemoryDeallocator deAlloc
Definition: obsolete.h:62
canStatus canUninstallAction(int handle, long id)
unsigned int rxBufSize
Definition: obsolete.h:59
struct tagCanHWDescr canHWDescr
unsigned int txBufSize
Definition: obsolete.h:60
canStatus canUninstallOwnBuffer(int handle, long id)
canStatus canLocateHardware(void)
void(* canMemoryDeallocator)(void *p)
Definition: obsolete.h:44
Definition: obsolete.h:58