Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
fc67f3e0
Commit
fc67f3e0
authored
Jan 17, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syntax fixes
parent
43955cbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
doc/asn1c-usage.lyx
doc/asn1c-usage.lyx
+30
-9
doc/asn1c-usage.pdf
doc/asn1c-usage.pdf
+0
-0
No files found.
doc/asn1c-usage.lyx
View file @
fc67f3e0
...
@@ -2777,7 +2777,7 @@ free_struct
...
@@ -2777,7 +2777,7 @@ free_struct
\layout Part
\layout Part
Examples
Examples
\layout Chapter
\layout Chapter
*
Step-by-step: A
Step-by-step: A
\begin_inset Quotes sld
\begin_inset Quotes sld
...
@@ -2864,22 +2864,39 @@ Alternatively, use the Online ASN.1 compiler
...
@@ -2864,22 +2864,39 @@ Alternatively, use the Online ASN.1 compiler
\series bold
\series bold
rectangle.asn1
rectangle.asn1
\series default
\series default
file into the Web form and unpacking the produced archive into the target
file into the Web form and unpacking the produced archive on your computer.
directory on your computer.
\layout Enumerate
\layout Enumerate
By this time, you should have multiple files in the current directory, including
By this time, you should have gotten multiple files in the current directory,
the Rectangle.c and Rectangle.h files.
including the
\series bold
Rectangle.c
\series default
and
\series bold
Rectangle.h
\series default
.
\layout Enumerate
\layout Enumerate
Create a main() routine which takes the binary input file, decodes it as
Create a main() routine which takes the binary input file, decodes it as
it were a BER-encoded Rectangle type, and print
out the text (XML) representati
it were a BER-encoded Rectangle type, and print
s out the text (XML) representat
on of the Rectangle type.
i
on of the Rectangle type.
Let's name the file
Let's name the file
\series bold
\series bold
main.c
main.c
\series default
\series default
:
:
\begin_inset ERT
status Open
\layout Standard
\backslash
clearpage{}
\end_inset
\begin_deeper
\begin_deeper
\layout LyX-Code
\layout LyX-Code
...
@@ -3172,14 +3189,18 @@ n
...
@@ -3172,14 +3189,18 @@ n
\end_deeper
\end_deeper
\layout Enumerate
\layout Enumerate
Compile all files together using C compiler:
Compile all files together using C compiler
(varies by platform)
:
\begin_deeper
\begin_deeper
\layout LyX-Code
\layout LyX-Code
\emph on
\emph on
cc -I.
cc -I.
-o rdecode *.c
-o
\series bold
rdecode
\series default
*.c
\end_deeper
\end_deeper
\layout Enumerate
\layout Enumerate
...
...
doc/asn1c-usage.pdf
View file @
fc67f3e0
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment