/*
- * $Id: ftypes-int.h,v 1.2 2001/02/01 20:31:21 gram Exp $
+ * $Id: ftypes-int.h,v 1.5 2002/01/21 07:37:39 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 2001 Gerald Combs
- *
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
#ifndef FTYPES_INT_H
#define FTYPES_INT_H
-#include "packet.h"
+#include <epan/packet.h>
#include "ftypes.h"
-typedef void (*FtypeFromTvbuffFunc)(field_info*, tvbuff_t*, int, int, gboolean);
typedef void (*FvalueNewFunc)(fvalue_t*);
typedef void (*FvalueFreeFunc)(fvalue_t*);
typedef gboolean (*FvalueCmp)(fvalue_t*, fvalue_t*);
typedef guint (*FvalueLen)(fvalue_t*);
-typedef void (*FvalueSlice)(fvalue_t*, GByteArray *, guint, guint);
+typedef void (*FvalueSlice)(fvalue_t*, GByteArray *, guint offset, guint length);
struct _ftype_t {
const char *name;
int wire_size;
FvalueNewFunc new_value;
FvalueFreeFunc free_value;
- FtypeFromTvbuffFunc from_tvbuff;
FvalueFromString val_from_string;
/* could be union */