Make sure the packet length isn't > WTAP_MAX_PACKET_SIZE.
[metze/wireshark/wip.git] / wiretap / btsnoop.h
index e141d4248610946b817f708e5e7fa92628a0613b..7611fb4d428fda668f357d14f6f94809f059b4e2 100644 (file)
@@ -1,6 +1,4 @@
 /* btsnoop.h
- *
- * $Id$
  *
  * Wiretap Library
  * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef __W_BTSNOOP_H__
 #define __W_BTSNOOP_H__
+#include <glib.h>
+#include "ws_symbol_export.h"
 
-int btsnoop_open(wtap *wth, int *err, gchar **err_info);
+wtap_open_return_val btsnoop_open(wtap *wth, int *err, gchar **err_info);
 gboolean btsnoop_dump_open_h1(wtap_dumper *wdh, int *err);
 gboolean btsnoop_dump_open_h4(wtap_dumper *wdh, int *err);
 int btsnoop_dump_can_write_encap(int encap);