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
3256d6f6
Commit
3256d6f6
authored
Oct 21, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming
parent
f3999547
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
skeletons/ENUMERATED.c
skeletons/ENUMERATED.c
+1
-1
skeletons/OBJECT_IDENTIFIER.h
skeletons/OBJECT_IDENTIFIER.h
+1
-1
skeletons/REAL.h
skeletons/REAL.h
+1
-1
skeletons/RELATIVE-OID.c
skeletons/RELATIVE-OID.c
+1
-1
skeletons/xer_decoder.c
skeletons/xer_decoder.c
+5
-5
skeletons/xer_decoder.h
skeletons/xer_decoder.h
+3
-3
No files found.
skeletons/ENUMERATED.c
View file @
3256d6f6
...
...
@@ -4,7 +4,7 @@
*/
#include <asn_internal.h>
#include <ENUMERATED.h>
#include <
ber_codec_prim.h>
#include <
asn_codecs_prim.h>
/* Encoder and decoder of a primitive type */
/*
* ENUMERATED basic type description.
...
...
skeletons/OBJECT_IDENTIFIER.h
View file @
3256d6f6
...
...
@@ -6,7 +6,7 @@
#define _OBJECT_IDENTIFIER_H_
#include <asn_application.h>
#include <
ber_codec
_prim.h>
#include <
asn_codecs
_prim.h>
typedef
ASN__PRIMITIVE_TYPE_t
OBJECT_IDENTIFIER_t
;
...
...
skeletons/REAL.h
View file @
3256d6f6
...
...
@@ -6,7 +6,7 @@
#define ASN_TYPE_REAL_H
#include <asn_application.h>
#include <
ber_codec
_prim.h>
#include <
asn_codecs
_prim.h>
typedef
ASN__PRIMITIVE_TYPE_t
REAL_t
;
...
...
skeletons/RELATIVE-OID.c
View file @
3256d6f6
...
...
@@ -4,7 +4,7 @@
*/
#include <asn_internal.h>
#include <RELATIVE-OID.h>
#include <
ber_codec_prim.h>
/* Encoder and decoder of a primitiv
e */
#include <
asn_codecs_prim.h>
/* Encoder and decoder of a primitive typ
e */
#include <limits.h>
/* for CHAR_BIT */
#include <assert.h>
#include <errno.h>
...
...
skeletons/xer_decoder.c
View file @
3256d6f6
...
...
@@ -161,7 +161,7 @@ xer_check_tag(const void *buf_ptr, int size, const char *need_tag) {
#define XER_GOT_BODY(chunk_buf, chunk_size) do { \
ssize_t converted_size = body_receiver \
(struct_
ptr
, chunk_buf, chunk_size, \
(struct_
key
, chunk_buf, chunk_size, \
(size_t)chunk_size < size); \
if(converted_size == -1) RETURN(RC_FAIL); \
chunk_size = converted_size; \
...
...
@@ -177,13 +177,13 @@ xer_check_tag(const void *buf_ptr, int size, const char *need_tag) {
asn_dec_rval_t
xer_decode_general
(
asn_codec_ctx_t
*
opt_codec_ctx
,
asn_struct_ctx_t
*
ctx
,
/* Type decoder context */
void
*
struct_
ptr
,
/* The structure must be already allocated */
void
*
struct_
key
,
const
char
*
xml_tag
,
/* Expected XML tag */
void
*
buf_ptr
,
size_t
size
,
int
(
*
opt_unexpected_tag_decoder
)
(
void
*
struct_
ptr
,
void
*
chunk_buf
,
size_t
chunk_size
),
(
void
*
struct_
key
,
void
*
chunk_buf
,
size_t
chunk_size
),
ssize_t
(
*
body_receiver
)
(
void
*
struct_
ptr
,
void
*
chunk_buf
,
size_t
chunk_size
,
(
void
*
struct_
key
,
void
*
chunk_buf
,
size_t
chunk_size
,
int
have_more
)
)
{
...
...
@@ -272,7 +272,7 @@ xer_decode_general(asn_codec_ctx_t *opt_codec_ctx,
* Certain tags in the body may be expected.
*/
if
(
opt_unexpected_tag_decoder
&&
opt_unexpected_tag_decoder
(
struct_
ptr
,
&&
opt_unexpected_tag_decoder
(
struct_
key
,
buf_ptr
,
ch_size
)
==
0
)
{
/* Tag's processed fine */
ADVANCE
(
ch_size
);
...
...
skeletons/xer_decoder.h
View file @
3256d6f6
...
...
@@ -41,13 +41,13 @@ typedef asn_dec_rval_t (xer_type_decoder_f)(asn_codec_ctx_t *opt_codec_ctx,
*/
asn_dec_rval_t
xer_decode_general
(
asn_codec_ctx_t
*
opt_codec_ctx
,
asn_struct_ctx_t
*
ctx
,
/* Type decoder context */
void
*
struct_
ptr
,
/* The structure must be already allocated
*/
void
*
struct_
key
,
/* Treated as opaque pointer
*/
const
char
*
xml_tag
,
/* Expected XML tag name */
void
*
buf_ptr
,
size_t
size
,
int
(
*
opt_unexpected_tag_decoder
)
(
void
*
struct_
ptr
,
void
*
chunk_buf
,
size_t
chunk_size
),
(
void
*
struct_
key
,
void
*
chunk_buf
,
size_t
chunk_size
),
ssize_t
(
*
body_receiver
)
(
void
*
struct_
ptr
,
void
*
chunk_buf
,
size_t
chunk_size
,
(
void
*
struct_
key
,
void
*
chunk_buf
,
size_t
chunk_size
,
int
have_more
)
);
...
...
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