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
933b950a
Commit
933b950a
authored
7 years ago
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved decl around to maintain comments continuity
parent
cf573ec1
vlm_master
velichkov_s1ap_plus_option_group
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
skeletons/xer_encoder.h
skeletons/xer_encoder.h
+11
-11
No files found.
skeletons/xer_encoder.h
View file @
933b950a
...
@@ -31,6 +31,17 @@ asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor,
...
@@ -31,6 +31,17 @@ asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor,
void
*
app_key
/* Arbitrary callback argument */
void
*
app_key
/* Arbitrary callback argument */
);
);
/*
* The variant of the above function which dumps the BASIC-XER (XER_F_BASIC)
* output into the chosen file pointer.
* RETURN VALUES:
* 0: The structure is printed.
* -1: Problem printing the structure.
* WARNING: No sensible errno value is returned.
*/
int
xer_fprint
(
FILE
*
stream
,
const
struct
asn_TYPE_descriptor_s
*
td
,
const
void
*
struct_ptr
);
/*
/*
* A helper function that uses XER encoding/decoding to verify that:
* A helper function that uses XER encoding/decoding to verify that:
* - Both structures encode into the same BASIC XER.
* - Both structures encode into the same BASIC XER.
...
@@ -53,17 +64,6 @@ enum xer_equivalence_e xer_equivalent(
...
@@ -53,17 +64,6 @@ enum xer_equivalence_e xer_equivalent(
const
struct
asn_TYPE_descriptor_s
*
type_descriptor
,
const
void
*
struct1
,
const
struct
asn_TYPE_descriptor_s
*
type_descriptor
,
const
void
*
struct1
,
const
void
*
struct2
,
FILE
*
opt_debug_stream
);
const
void
*
struct2
,
FILE
*
opt_debug_stream
);
/*
* The variant of the above function which dumps the BASIC-XER (XER_F_BASIC)
* output into the chosen file pointer.
* RETURN VALUES:
* 0: The structure is printed.
* -1: Problem printing the structure.
* WARNING: No sensible errno value is returned.
*/
int
xer_fprint
(
FILE
*
stream
,
const
struct
asn_TYPE_descriptor_s
*
td
,
const
void
*
sptr
);
/*
/*
* Type of the generic XER encoder.
* Type of the generic XER encoder.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
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