1241199Sdelphij/*
2241199Sdelphij * Copyright (c) 2009 Felix Obenhuber
3241199Sdelphij * All rights reserved.
4241199Sdelphij *
5241199Sdelphij * Redistribution and use in source and binary forms, with or without
6241199Sdelphij * modification, are permitted provided that the following conditions
7241199Sdelphij * are met:
8241199Sdelphij *
9241199Sdelphij * 1. Redistributions of source code must retain the above copyright
10241199Sdelphij * notice, this list of conditions and the following disclaimer.
11241199Sdelphij * 2. Redistributions in binary form must reproduce the above copyright
12241199Sdelphij * notice, this list of conditions and the following disclaimer in the
13241199Sdelphij * documentation and/or other materials provided with the distribution.
14241199Sdelphij * 3. The name of the author may not be used to endorse or promote
15241199Sdelphij * products derived from this software without specific prior written
16241199Sdelphij * permission.
17241199Sdelphij *
18241199Sdelphij * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19241199Sdelphij * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20241199Sdelphij * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21241199Sdelphij * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22241199Sdelphij * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23241199Sdelphij * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24241199Sdelphij * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25241199Sdelphij * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26241199Sdelphij * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27241199Sdelphij * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28241199Sdelphij * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29241199Sdelphij *
30241199Sdelphij */
31241199Sdelphij
32241199Sdelphij/*
33241199Sdelphij * Prototypes for SocketCAN related functions
34241199Sdelphij */
35251129Sdelphijpcap_t* canusb_create(const char *device, char *ebuf, int *is_ours);
36251129Sdelphijint canusb_findalldevs(pcap_if_t **pdevlist, char* errbuf);
37241199Sdelphij
38