Squelch compiler warnings.
[metze/wireshark/wip.git] / wiretap / netscreen.h
index 983e1373f3eed477ec7ad5bd96b72285ce94b45d..b3b84135947bb3eee56050ec43e5bcd0cf467e17 100644 (file)
  *
  * 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_NETSCREEN_H__
 #define __W_NETSCREEN_H__
 
+#include <glib.h>
+#include "wtap.h"
+
 /* Magic text to check for NetScreen snoop output */
 #define NETSCREEN_HDR_MAGIC_STR1       "(i) len="
 #define NETSCREEN_HDR_MAGIC_STR2       "(o) len="
@@ -34,7 +37,7 @@
 #define NETSCREEN_REC_MAGIC_STR1       NETSCREEN_HDR_MAGIC_STR1
 #define NETSCREEN_REC_MAGIC_STR2       NETSCREEN_HDR_MAGIC_STR2
 
-#define NETSCREEN_LINE_LENGTH          128
+#define NETSCREEN_LINE_LENGTH          128
 #define NETSCREEN_HEADER_LINES_TO_CHECK        32
 #define NETSCREEN_MAX_INFOLINES                8
 #define NETSCREEN_SPACES_ON_INFO_LINE  14
@@ -43,9 +46,6 @@
 #define NETSCREEN_INGRESS              FALSE
 #define NETSCREEN_EGRESS               TRUE
 
-
-#define NETSCREEN_MAX_PACKET_LEN       65536
-
-int netscreen_open(wtap *wth, int *err, gchar **err_info);
+wtap_open_return_val netscreen_open(wtap *wth, int *err, gchar **err_info);
 
 #endif