DCERPC: factor out proto_tree_add_dcerpc_drep()
[wireshark-wip.git] / wiretap / netmon.h
blobcca5be35573c4d1f7aabccf348de6b28b34595f6
1 /* netmon.h
3 * $Id$
5 * Wiretap Library
6 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef __NETMON_H__
24 #define __NETMON_H__
26 #include <glib.h>
27 #include <wtap.h>
29 int netmon_open(wtap *wth, int *err, gchar **err_info);
30 gboolean netmon_dump_open(wtap_dumper *wdh, int *err);
31 int netmon_dump_can_write_encap_1_x(int encap);
32 int netmon_dump_can_write_encap_2_x(int encap);
34 #endif