author | etisserant |
Tue, 08 Aug 2006 22:34:32 +0200 | |
changeset 41 | e70439f50539 |
child 42 | 17f0ea205942 |
permissions | -rw-r--r-- |
41
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
1 |
/* |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
2 |
|
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
3 |
This file is not part of CanFestival. |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
4 |
This is third party contributed file. |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
5 |
|
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
6 |
It is provided as-this and without any warranty |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
7 |
|
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
8 |
*/ |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
9 |
|
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
10 |
//**************************************************************************** |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
11 |
// Copyright (C) 2006 PEAK System-Technik GmbH |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
12 |
// |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
13 |
// linux@peak-system.com |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
14 |
// www.peak-system.com |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
15 |
// |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
16 |
// This part of software is proprietary. It is allowed to |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
17 |
// distribute it with CanFestival. |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
18 |
// |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
19 |
// No warranty at all is given. |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
20 |
// |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
21 |
// Maintainer(s): Edouard TISSERANT (edouard.tisserant@lolitech.fr) |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
22 |
//**************************************************************************** |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
23 |
|
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
24 |
/* |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
25 |
Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Tue Aug 8 23:36:30 2006 |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
26 |
*/ |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
27 |
#define pcan_34 typedef |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
28 |
#define pcan_51 struct |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
29 |
#define pcan_9 char |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
30 |
#define pcan_39 TASK_HANDLE |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
31 |
#define pcan_1 receiveTask |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
32 |
#define pcan_24 CO_Data |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
33 |
#define pcan_o d |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
34 |
#define pcan_16 s_BOARD |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
35 |
#define pcan_k board |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
36 |
#define pcan_47 pthread_mutex_t |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
37 |
#define pcan_38 PTHREAD_MUTEX_INITIALIZER |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
38 |
#define pcan_12 void |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
39 |
#define pcan_n CAN_HANDLE |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
40 |
#define pcan_d if |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
41 |
#define pcan_52 CAN2_Init |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
42 |
#define pcan_20 baudrate |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
43 |
#define pcan_v CAN_INIT_TYPE_ST |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
44 |
#define pcan_j else |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
45 |
#define pcan_54 CAN_Init |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
46 |
#define pcan_t UNS8 |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
47 |
#define pcan_17 canReceive |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
48 |
#define pcan_4 Message |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
49 |
#define pcan_f data |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
50 |
#define pcan_23 TPCANMsg |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
51 |
#define pcan_11 DWORD |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
52 |
#define pcan_22 pthread_mutex_lock |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
53 |
#define pcan_27 CAN2_Read |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
54 |
#define pcan_48 CAN_Read |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
55 |
#define pcan_w CAN_ERR_OK |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
56 |
#define pcan_q MSGTYPE |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
57 |
#define pcan_14 MSGTYPE_STANDARD |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
58 |
#define pcan_10 MSGTYPE_RTR |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
59 |
#define pcan_25 CAN_ERR_BUSOFF |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
60 |
#define pcan_7 printf |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
61 |
#define pcan_y usleep |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
62 |
#define pcan_u pthread_mutex_unlock |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
63 |
#define pcan_p return |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
64 |
#define pcan_28 MSGTYPE_STATUS |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
65 |
#define pcan_8 DATA |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
66 |
#define pcan_46 CAN_ERR_OVERRUN |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
67 |
#define pcan_13 cob_id |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
68 |
#define pcan_15 w |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
69 |
#define pcan_18 ID |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
70 |
#define pcan_2 rtr |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
71 |
#define pcan_z len |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
72 |
#define pcan_6 LEN |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
73 |
#define pcan_3 for |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
74 |
#define pcan_44 canReceiveLoop |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
75 |
#define pcan_19 while |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
76 |
#define pcan_26 EnterMutex |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
77 |
#define pcan_50 canDispatch |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
78 |
#define pcan_30 LeaveMutex |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
79 |
#define pcan_31 CAN_ERR_QRCVEMPTY |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
80 |
#define pcan_40 CAN_ERR_BUSLIGHT |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
81 |
#define pcan_45 CAN_ERR_BUSHEAVY |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
82 |
#define pcan_41 canSend |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
83 |
#define pcan_m errno |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
84 |
#define pcan_32 do |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
85 |
#define pcan_53 CAN2_Write |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
86 |
#define pcan_43 CAN_Write |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
87 |
#define pcan_42 canOpen |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
88 |
#define pcan_21 int |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
89 |
#define pcan_56 break |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
90 |
#define pcan_0 fprintf |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
91 |
#define pcan_5 stderr |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
92 |
#define pcan_37 NULL |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
93 |
#define pcan_29 CreateReceiveTask |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
94 |
#define pcan_57 canClose |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
95 |
#define pcan_49 CAN2_Close |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
96 |
#define pcan_35 CAN_Close |
e70439f50539
First working cygwin/pcan_light commit. can_peak_win32.c is obfuscated.
etisserant
parents:
diff
changeset
|
97 |
#define pcan_33 WaitReceiveTaskEnd |