From Harald Welte:
[obnox/wireshark/wip.git] / wiretap / pcap-encap.h
1 /* pcap-encap.h
2  * Declarations for routines to handle libpcap/pcap-NG linktype values
3  *
4  * $Id: pcap-common.h 28863 2009-06-27 16:08:18Z tuexen $
5  *
6  * Wiretap Library
7  * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
8  *
9  * File format support for pcap-ng file format
10  * Copyright (c) 2007 by Ulf Lamping <ulf.lamping@web.de>
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __W_PCAP_ENCAP_H__
28 #define __W_PCAP_ENCAP_H__
29
30 #include <glib.h>
31 #include <wiretap/wtap.h>
32
33 extern int wtap_pcap_encap_to_wtap_encap(int encap);
34 extern int wtap_wtap_encap_to_pcap_encap(int encap);
35
36 #endif