Commit 429f406c authored by francescomani's avatar francescomani

fix to handle a scenario where a CHOICE ASN1 structure changes type in a reconfiguration

parent f918be96
This diff is collapsed.
......@@ -49,6 +49,15 @@
DESTINATION = tmp; \
} while(0); \
// Macro updates DESTINATION with configuration from ORIGIN by swapping elements
// Old configuration is freed after completing configuration
#define UPDATE_MAC_NP_IE(DESTINATION, ORIGIN, TYPE) \
do { \
TYPE tmp = ORIGIN; \
ORIGIN = DESTINATION; \
DESTINATION = tmp; \
} while(0); \
// Macro handles reception of SetupRelease element ORIGIN (see NR_SetupRelease.h)
// If release (NR_SetupRelease_xxx_PR_release equivalent to 1), removing structure from DESTINATION
// If setup (NR_SetupRelease_xxx_PR_setup equivalent to 2), add or modify structure in DESTINATION
......
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