Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 1 | /* Generated file. Do not edit. */ |
| 2 | int winerror_to_errno(int winerror) |
| 3 | { |
Antoine Pitrou | f95a1b3 | 2010-05-09 15:52:27 +0000 | [diff] [blame] | 4 | switch(winerror) { |
| 5 | case 2: return 2; |
| 6 | case 3: return 2; |
| 7 | case 4: return 24; |
| 8 | case 5: return 13; |
| 9 | case 6: return 9; |
| 10 | case 7: return 12; |
| 11 | case 8: return 12; |
| 12 | case 9: return 12; |
| 13 | case 10: return 7; |
| 14 | case 11: return 8; |
| 15 | case 15: return 2; |
| 16 | case 16: return 13; |
| 17 | case 17: return 18; |
| 18 | case 18: return 2; |
| 19 | case 19: return 13; |
| 20 | case 20: return 13; |
| 21 | case 21: return 13; |
| 22 | case 22: return 13; |
| 23 | case 23: return 13; |
| 24 | case 24: return 13; |
| 25 | case 25: return 13; |
| 26 | case 26: return 13; |
| 27 | case 27: return 13; |
| 28 | case 28: return 13; |
| 29 | case 29: return 13; |
| 30 | case 30: return 13; |
| 31 | case 31: return 13; |
| 32 | case 32: return 13; |
| 33 | case 33: return 13; |
| 34 | case 34: return 13; |
| 35 | case 35: return 13; |
| 36 | case 36: return 13; |
| 37 | case 53: return 2; |
| 38 | case 65: return 13; |
| 39 | case 67: return 2; |
| 40 | case 80: return 17; |
| 41 | case 82: return 13; |
| 42 | case 83: return 13; |
| 43 | case 89: return 11; |
| 44 | case 108: return 13; |
| 45 | case 109: return 32; |
| 46 | case 112: return 28; |
| 47 | case 114: return 9; |
| 48 | case 128: return 10; |
| 49 | case 129: return 10; |
| 50 | case 130: return 9; |
| 51 | case 132: return 13; |
| 52 | case 145: return 41; |
| 53 | case 158: return 13; |
| 54 | case 161: return 2; |
| 55 | case 164: return 11; |
| 56 | case 167: return 13; |
| 57 | case 183: return 17; |
| 58 | case 188: return 8; |
| 59 | case 189: return 8; |
| 60 | case 190: return 8; |
| 61 | case 191: return 8; |
| 62 | case 192: return 8; |
| 63 | case 193: return 8; |
| 64 | case 194: return 8; |
| 65 | case 195: return 8; |
| 66 | case 196: return 8; |
| 67 | case 197: return 8; |
| 68 | case 198: return 8; |
| 69 | case 199: return 8; |
| 70 | case 200: return 8; |
| 71 | case 201: return 8; |
| 72 | case 202: return 8; |
| 73 | case 206: return 2; |
| 74 | case 215: return 11; |
Antoine Pitrou | 586bfe4 | 2011-10-07 16:16:31 +0200 | [diff] [blame] | 75 | case 232: return 32; |
Antoine Pitrou | a762285 | 2011-09-01 21:37:43 +0200 | [diff] [blame] | 76 | case 267: return 20; |
Antoine Pitrou | f95a1b3 | 2010-05-09 15:52:27 +0000 | [diff] [blame] | 77 | case 1816: return 12; |
| 78 | default: return EINVAL; |
| 79 | } |
Thomas Wouters | 477c8d5 | 2006-05-27 19:21:47 +0000 | [diff] [blame] | 80 | } |