summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/rebuild-from-asn.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rebuild-from-asn.sh b/src/rebuild-from-asn.sh
new file mode 100755
index 0000000..6878c2f
--- /dev/null
+++ b/src/rebuild-from-asn.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+ASN=../asn/
+asn1c -pdu=auto $ASN/GSMMAP.asn $ASN/MAP-MS-DataTypes.asn $ASN/MAP-SS-DataTypes.asn $ASN/MAP-CommonDataTypes.asn $ASN/MAP-ExtensionDataTypes.asn $ASN/MAP-SS-Code.asn $ASN/MAP-BS-Code.asn $ASN/MAP-TS-Code.asn $ASN/MAP-ER-DataTypes.asn $ASN/MAP-OM-DataTypes.asn $ASN/MAP-CH-DataTypes.asn
+find . -type l -exec rm \{\} \;
+mv *.h ../include