File: berdecode.dbk

package info (click to toggle)
snacc 1.3bbn-10
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 5,500 kB
  • ctags: 4,134
  • sloc: ansic: 35,869; sh: 7,050; cpp: 4,380; yacc: 2,215; lex: 517; makefile: 258; sed: 4
file content (107 lines) | stat: -rw-r--r-- 3,162 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
  <!ENTITY dhfirstname "<firstname>W. Martin</firstname>">
  <!ENTITY dhsurname   "<surname>Borgert</surname>">
  <!-- Please adjust the date whenever revising the manpage. -->
  <!ENTITY dhdate      "<date>2000-04-25</date>">
  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
  <!ENTITY dhemail     "<email>debacle@debian.org</email>">
  <!ENTITY dhusername  "W. Martin Borgert">
  <!ENTITY dhucpackage "<refentrytitle>berdecode</refentrytitle>">
  <!ENTITY dhpackage   "berdecode">
  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
  <!ENTITY gnu         "<acronym>GNU</acronym>">
]>

<!-- $Id: berdecode.dbk,v 1.1 2003/08/10 08:46:25 debacle Exp $ -->

<refentry>
  <refentryinfo>
    <address>
      &dhemail;
    </address>
    <author>
      &dhfirstname;
      &dhsurname;
    </author>
    <copyright>
      <year>2000</year>
      <holder>&dhusername;</holder>
    </copyright>
    &dhdate;
  </refentryinfo>
  <refmeta>
    &dhucpackage;

    &dhsection;
  </refmeta>
  <refnamediv>
    <refname>&dhpackage;</refname>

    <refpurpose>decode BER encoded data</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&dhpackage;</command>

      <arg><option>-s
      <replaceable>bytestostrip</replaceable></option></arg>

      <arg><option>-strip
      <replaceable>bytestostrip</replaceable></option></arg>

      <arg><option>-d</option></arg>

      <arg><option>-debug</option></arg>

      <arg><option>-t
      <replaceable>tablefilename</replaceable></option></arg>

      <arg><option>-table
      <replaceable>tablefilename</replaceable></option></arg>

      <arg><option>filename</option></arg>

      <arg><option>-</option></arg>

    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>Description</title>

      <para>This program reads a binary ASN.1 grammar file generated
        by <command>snacc</command> <option>-T</option> and uses it to
        decode ASN.1 BER encoded data from files or stdin.</para>

      <para>From every message the first &lt;bytestostrip&gt; bytes
        (default 2) are skipped.</para>

      <para>Flag <option>-d</option> gives additional information
        during decoding.</para>

      <para>This manual page was written for the &debian; distribution
        because the original program does have only a README
        file.</para>

  </refsect1>
  <refsect1>
    <title>See Also</title>

    <para>snacc (1), mkchdr(1), ptbl(1), pval(1),
      snacc-config(1).</para>

    <para>Please install the snacc-doc package for more
      information on snacc.</para>

  </refsect1>
  <refsect1>
    <title>Author</title>

    <para>This manual page was written by &dhusername; (&dhemail;) for
      the &debian; system.  Permission is granted to copy, distribute
      and/or modify this document under the terms of the
      <acronym>GNU</acronym> General Public License, Version 3
      or any later version published by the Free Software Foundation.</para>
  </refsect1>
</refentry>