Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Havar
asn1c
Commits
cbf5a7e4
Commit
cbf5a7e4
authored
Mar 10, 2005
by
Lev Walkin
Browse files
added extra const qualifiers
parent
8c3b8540
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
cbf5a7e4
0.9.13: 2005-Mar-10
* Added extra const qualifiers into the support code.
0.9.12: 2005-Mar-10
* Fixed a name clash in produced constraint checking code.
...
...
asn1c/unber.c
View file @
cbf5a7e4
...
...
@@ -694,7 +694,7 @@ decode_tlv_from_string(const char *datastring) {
/*
* Dummy functions.
*/
asn_dec_rval_t
ber_check_tags
(
asn_codec_ctx_t
*
opt_codec_ctx
,
asn_TYPE_descriptor_t
*
td
,
asn_struct_ctx_t
*
opt_ctx
,
void
*
ptr
,
size_t
size
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_len_t
*
last_length
,
int
*
opt_tlv_form
)
{
asn_dec_rval_t
rv
;
(
void
)
opt_codec_ctx
;
(
void
)
td
;
(
void
)
opt_ctx
;
(
void
)
ptr
;
(
void
)
size
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
last_length
;
(
void
)
opt_tlv_form
;
return
rv
;
}
asn_dec_rval_t
ber_check_tags
(
asn_codec_ctx_t
*
opt_codec_ctx
,
asn_TYPE_descriptor_t
*
td
,
asn_struct_ctx_t
*
opt_ctx
,
const
void
*
ptr
,
size_t
size
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_len_t
*
last_length
,
int
*
opt_tlv_form
)
{
asn_dec_rval_t
rv
;
(
void
)
opt_codec_ctx
;
(
void
)
td
;
(
void
)
opt_ctx
;
(
void
)
ptr
;
(
void
)
size
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
last_length
;
(
void
)
opt_tlv_form
;
return
rv
;
}
ssize_t
der_write_tags
(
asn_TYPE_descriptor_t
*
td
,
size_t
slen
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_tag_t
tag
,
asn_app_consume_bytes_f
*
cb
,
void
*
app_key
)
{
(
void
)
td
;
(
void
)
slen
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
tag
;
(
void
)
cb
;
(
void
)
app_key
;
return
-
1
;
}
...
...
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