Daniel Willmann
d10002cf8d
asn1tostruct: Add memory free functions and use them in HNBAP
2016-01-07 12:27:41 +01:00
Neels Hofmeyr
c13ebf78c8
asn1tostruct.py: don't generate unused local struct instances.
2016-01-05 13:39:22 +01:00
Daniel Willmann
d174e76f1d
asn1tostruct.py: Fix memory leaks in generated code
...
The decode_*ies functions did not clean up after them. This change is
taken from changes made to asn1tostruct.py in openair-cn repository.
2015-12-22 16:40:46 +01:00
Harald Welte
a0c74240fa
asn1tostruct: Avoid erroneous double-underscores
...
We shouldn't generate names like
RANAP_RAB_SetupList_EnhancedRelocCompleteReq__t when creating the
_encode() and _decode() functiosn, as the '-IEs' at the end must be
stripped before converting all '-' to '_'.
2015-12-16 16:45:48 +01:00
Harald Welte
84839c04ea
asn1tostruct.py: Add support for type prefixing
...
If asn1c generates prefixed type names, the asn1tostruct.py of course
also needs to be modified to do so.
2015-09-10 18:33:14 +02:00
Harald Welte
547b76c5b4
asn1tostruct.py: Don't claim copyright on auto-generated code
...
It is a legal impossibility to claim copyright on something that
has been automatically generated by a computer program.
2015-08-30 22:48:59 +02:00
Harald Welte
245daf9422
import ans1tostruct.py from Eurecom OpenAirInterface
2015-08-30 22:48:59 +02:00