From 933b950a80f0eed416fbc1fca095e11594ccc4b7 Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Tue, 7 Nov 2017 05:55:29 -0800 Subject: [PATCH] moved decl around to maintain comments continuity --- skeletons/xer_encoder.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/skeletons/xer_encoder.h b/skeletons/xer_encoder.h index 564eea71..9d75922c 100644 --- a/skeletons/xer_encoder.h +++ b/skeletons/xer_encoder.h @@ -31,6 +31,17 @@ asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, 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: * - Both structures encode into the same BASIC XER. @@ -53,17 +64,6 @@ enum xer_equivalence_e xer_equivalent( const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct1, 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. */