summaryrefslogtreecommitdiff
path: root/epan/dfilter
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-02-01 20:31:21 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-02-01 20:31:21 +0000
commit96e0398fc6e3d3dbe8a9d1bd0dbad3f2cf9d9a77 (patch)
treeec594360623ff671dc47e66ee41b164953ab4dd8 /epan/dfilter
parent8f1fff2e6a5c114c6beafd2983afb55acd3d66ae (diff)
downloadwireshark-96e0398fc6e3d3dbe8a9d1bd0dbad3f2cf9d9a77.tar.gz
Grumble, grumble. I forgot to add the license comment at the top
of these files. svn path=/trunk/; revision=2968
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/Makefile.am3
-rw-r--r--epan/dfilter/dfilter-int.h22
-rw-r--r--epan/dfilter/dfilter.c22
-rw-r--r--epan/dfilter/dfilter.h22
-rw-r--r--epan/dfilter/dfvm.c23
-rw-r--r--epan/dfilter/dfvm.h23
-rw-r--r--epan/dfilter/scanner.l23
-rw-r--r--epan/dfilter/semcheck.c23
-rw-r--r--epan/dfilter/semcheck.h25
-rw-r--r--epan/dfilter/sttype-pointer.c23
-rw-r--r--epan/dfilter/sttype-range.c23
-rw-r--r--epan/dfilter/sttype-range.h23
-rw-r--r--epan/dfilter/sttype-string.c23
-rw-r--r--epan/dfilter/sttype-test.c23
-rw-r--r--epan/dfilter/sttype-test.h23
-rw-r--r--epan/dfilter/syntax-tree.c21
-rw-r--r--epan/dfilter/syntax-tree.h22
17 files changed, 344 insertions, 23 deletions
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index 3de048250d..2ef7baba5d 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -1,7 +1,6 @@
# Makefile.am
-# Automake file for the GTK interface routines for Ethereal
#
-# $Id: Makefile.am,v 1.1 2001/02/01 20:21:18 gram Exp $
+# $Id: Makefile.am,v 1.2 2001/02/01 20:31:18 gram Exp $
#
# Ethereal - Network traffic analyzer
# By Gerald Combs <gerald@zing.org>
diff --git a/epan/dfilter/dfilter-int.h b/epan/dfilter/dfilter-int.h
index e3bd84325e..3c97bc5235 100644
--- a/epan/dfilter/dfilter-int.h
+++ b/epan/dfilter/dfilter-int.h
@@ -1,8 +1,24 @@
-/* dfilter-int.h
- * Header information for use by multiple files in the dfilter submodule.
+/*
+ * $Id: dfilter-int.h,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: dfilter-int.h,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
#ifndef DFILTER_INT_H
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c
index a8d249cbf4..cb610d9578 100644
--- a/epan/dfilter/dfilter.c
+++ b/epan/dfilter/dfilter.c
@@ -1,8 +1,24 @@
-/* dfilter.c
- * Main entry point for dfilter routines
+/*
+ * $Id: dfilter.c,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: dfilter.c,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
#ifdef HAVE_CONFIG_H
diff --git a/epan/dfilter/dfilter.h b/epan/dfilter/dfilter.h
index b9442f42c8..afd93fb824 100644
--- a/epan/dfilter/dfilter.h
+++ b/epan/dfilter/dfilter.h
@@ -1,6 +1,24 @@
-/* dfilter.h
+/*
+ * $Id: dfilter.h,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: dfilter.h,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
#ifndef DFILTER_H
diff --git a/epan/dfilter/dfvm.c b/epan/dfilter/dfvm.c
index bf8bfe8e17..b5c4e40453 100644
--- a/epan/dfilter/dfvm.c
+++ b/epan/dfilter/dfvm.c
@@ -1,3 +1,26 @@
+/*
+ * $Id: dfvm.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/epan/dfilter/dfvm.h b/epan/dfilter/dfvm.h
index d7803635da..7af61fe8c4 100644
--- a/epan/dfilter/dfvm.h
+++ b/epan/dfilter/dfvm.h
@@ -1,3 +1,26 @@
+/*
+ * $Id: dfvm.h,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifndef DFVM_H
#define DFVM_H
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l
index a10c9fd77f..43bcba55c7 100644
--- a/epan/dfilter/scanner.l
+++ b/epan/dfilter/scanner.l
@@ -1,8 +1,25 @@
%{
-/* scanner.l
- * Scanner for Ethereal's dfilter language
+/*
+ * $Id: scanner.l,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: scanner.l,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
#ifdef HAVE_CONFIG_H
diff --git a/epan/dfilter/semcheck.c b/epan/dfilter/semcheck.c
index 24b1b93f80..24096ec694 100644
--- a/epan/dfilter/semcheck.c
+++ b/epan/dfilter/semcheck.c
@@ -1,3 +1,26 @@
+/*
+ * $Id: semcheck.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/epan/dfilter/semcheck.h b/epan/dfilter/semcheck.h
index 54f795dfe4..29a7e9eecf 100644
--- a/epan/dfilter/semcheck.h
+++ b/epan/dfilter/semcheck.h
@@ -1,8 +1,29 @@
+/*
+ * $Id: semcheck.h,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifndef SEMCHECK_H
#define SEMCHECK_H
-
-
gboolean
dfw_semcheck(dfwork_t *dfw);
diff --git a/epan/dfilter/sttype-pointer.c b/epan/dfilter/sttype-pointer.c
index 64a49658f2..339ad47941 100644
--- a/epan/dfilter/sttype-pointer.c
+++ b/epan/dfilter/sttype-pointer.c
@@ -1,4 +1,25 @@
-/* $Id: sttype-pointer.c,v 1.1 2001/02/01 20:21:18 gram Exp $ */
+/*
+ * $Id: sttype-pointer.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
#ifdef HAVE_CONFIG_H
#include "config.h"
diff --git a/epan/dfilter/sttype-range.c b/epan/dfilter/sttype-range.c
index 12bada4cc4..e21e52a99d 100644
--- a/epan/dfilter/sttype-range.c
+++ b/epan/dfilter/sttype-range.c
@@ -1,4 +1,25 @@
-/* $Id: sttype-range.c,v 1.1 2001/02/01 20:21:18 gram Exp $ */
+/*
+ * $Id: sttype-range.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
/* The ideas in this code came from Ed Warnicke's original implementation
* of dranges for the old display filter code (Ethereal 0.8.15 and before).
diff --git a/epan/dfilter/sttype-range.h b/epan/dfilter/sttype-range.h
index aff39c84b5..34b654f4e9 100644
--- a/epan/dfilter/sttype-range.h
+++ b/epan/dfilter/sttype-range.h
@@ -1,3 +1,26 @@
+/*
+ * $Id: sttype-range.h,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifndef STTYPE_RANGE_H
#define STTYPE_RANGE_H
diff --git a/epan/dfilter/sttype-string.c b/epan/dfilter/sttype-string.c
index c19797844d..106622e7fc 100644
--- a/epan/dfilter/sttype-string.c
+++ b/epan/dfilter/sttype-string.c
@@ -1,4 +1,25 @@
-/* $Id: sttype-string.c,v 1.1 2001/02/01 20:21:18 gram Exp $ */
+/*
+ * $Id: sttype-string.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
#include "syntax-tree.h"
diff --git a/epan/dfilter/sttype-test.c b/epan/dfilter/sttype-test.c
index 90b07048e0..24b1f85a58 100644
--- a/epan/dfilter/sttype-test.c
+++ b/epan/dfilter/sttype-test.c
@@ -1,4 +1,25 @@
-/* $Id: sttype-test.c,v 1.1 2001/02/01 20:21:18 gram Exp $ */
+/*
+ * $Id: sttype-test.c,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
#include "syntax-tree.h"
#include "sttype-test.h"
diff --git a/epan/dfilter/sttype-test.h b/epan/dfilter/sttype-test.h
index 69765df9e3..cad9378d3a 100644
--- a/epan/dfilter/sttype-test.h
+++ b/epan/dfilter/sttype-test.h
@@ -1,3 +1,26 @@
+/*
+ * $Id: sttype-test.h,v 1.2 2001/02/01 20:31:18 gram Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
+ */
+
#ifndef STTYPE_TEST_H
#define STTYPE_TEST_H
diff --git a/epan/dfilter/syntax-tree.c b/epan/dfilter/syntax-tree.c
index 238f685d84..cbe85ba3fb 100644
--- a/epan/dfilter/syntax-tree.c
+++ b/epan/dfilter/syntax-tree.c
@@ -1,7 +1,24 @@
-/* syntax-tree.c
+/*
+ * $Id: syntax-tree.c,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: syntax-tree.c,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
#ifdef HAVE_CONFIG_H
diff --git a/epan/dfilter/syntax-tree.h b/epan/dfilter/syntax-tree.h
index 3f60c09f1a..13a77024d6 100644
--- a/epan/dfilter/syntax-tree.h
+++ b/epan/dfilter/syntax-tree.h
@@ -1,8 +1,26 @@
-/* syntax-tree.h
+/*
+ * $Id: syntax-tree.h,v 1.2 2001/02/01 20:31:18 gram Exp $
*
- * $Id: syntax-tree.h,v 1.1 2001/02/01 20:21:18 gram Exp $
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@zing.org>
+ * 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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.
*/
+
#ifndef SYNTAX_TREE_H
#define SYNTAX_TREE_H