LOCAL: ignore build dirs
[wireshark-wip.git] / capture_wpcap_packet.h
blob07f8a8631bd3cfe7012f28487e78b05cedc27783
1 /* capture_wpcap_packet.h
3 * $Id$
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 2001 Gerald Combs
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 #ifndef CAPTURE_WPCAP_PACKET_H
26 #define CAPTURE_WPCAP_PACKET_H
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
32 extern void wpcap_packet_load(void);
34 /* get the packet.dll version info */
35 extern char *wpcap_packet_get_version(void);
37 /* open the interface */
38 extern void * wpcap_packet_open(char *if_name);
40 /* close the interface */
41 extern void wpcap_packet_close(void * adapter);
43 extern int wpcap_packet_request(void *a, ULONG Oid, int set, char *value, unsigned int *length);
45 extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
47 extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
49 #ifdef __cplusplus
51 #endif /* __cplusplus */
53 #endif /* CAPTURE_WPCAP_PACKET_H */