Commit f3ba6ed5 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5477 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f445dc33
...@@ -59,3 +59,11 @@ void dump_octet_string_xml(OctetString *octetstring) ...@@ -59,3 +59,11 @@ void dump_octet_string_xml(OctetString *octetstring)
printf("</values>\n"); printf("</values>\n");
} }
void dump_octet_string(OctetString *octetstring)
{
int i;
printf(" <Length=%u><values>", octetstring->length);
for (i = 0; i < octetstring->length; i++)
printf("0x%x ", octetstring->value[i]);
printf("</values>\n");
}
...@@ -44,5 +44,7 @@ int decode_octet_string(OctetString *octetstring, uint16_t pdulen, uint8_t *buff ...@@ -44,5 +44,7 @@ int decode_octet_string(OctetString *octetstring, uint16_t pdulen, uint8_t *buff
void dump_octet_string_xml(OctetString *octetstring); void dump_octet_string_xml(OctetString *octetstring);
void dump_octet_string(OctetString *octetstring);
#endif /* OCTET_STRING_H_ */ #endif /* OCTET_STRING_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment