aboutsummaryrefslogtreecommitdiffstats
path: root/tools/extract_asn1_from_spec.pl
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-07-29 20:24:02 +0000
committerEvan Huus <eapache@gmail.com>2013-07-29 20:24:02 +0000
commit56bf58dce39b5d34c2ecad5a883a1201599c15b2 (patch)
tree9d003d066a83fd6022b197a3259276fd40fafab5 /tools/extract_asn1_from_spec.pl
parent82569132d988807452eef3054f05b1381c515e7b (diff)
Add license header to script after emailing author to verify that GPL 2+ was the
intended license. svn path=/trunk/; revision=51018
Diffstat (limited to 'tools/extract_asn1_from_spec.pl')
-rwxr-xr-xtools/extract_asn1_from_spec.pl26
1 files changed, 24 insertions, 2 deletions
diff --git a/tools/extract_asn1_from_spec.pl b/tools/extract_asn1_from_spec.pl
index 0c2875ccec..118c824f14 100755
--- a/tools/extract_asn1_from_spec.pl
+++ b/tools/extract_asn1_from_spec.pl
@@ -1,6 +1,5 @@
-#$Id$
#!/usr/bin/perl
-# 2011 Vincent Helfre and Erwan Yvin
+#
# This script extracts the ASN1 definition from and TS 36.331/36.355/25.331
# and generates asn files that can be processed by asn2wrs
# First download the specification from 3gpp.org as a word document and open it
@@ -8,6 +7,29 @@
# Finally save the document as a text file
# Example with TS 36.331: "perl extract_asn1_from_spec.pl 36331-xxx.txt"
# It should generate: EUTRA-RRC-Definitions.asn, EUTRA-UE-Variables.asn and EUTRA-InterNodeDefinitions
+#
+# Copyright 2011 Vincent Helfre and Erwan Yvin
+#
+# $Id$
+#
+# Wireshark - Network traffic analyzer
+# By Gerald Combs <gerald@wireshark.org>
+# Copyright 1998 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
use warnings;
$input_file = $ARGV[0];
$version = 0;