aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-06-29 12:59:12 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-06-29 12:59:12 +0000
commit7489c7f0d86bc7ef1367c7f3b11e82d0b04702a8 (patch)
treeae0f4bf04db86c68586483f11db537f6e8400506
parent4362b1da54997981cfbaaac67e667d06b26e8734 (diff)
testing data
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1364 59561ff5-6e30-0410-9f3c-9617f08c8826
-rw-r--r--examples/sample.source.ULP/Makefile7
-rw-r--r--examples/sample.source.ULP/sample-ULP-PDU-1.perbin0 -> 29 bytes
-rw-r--r--examples/sample.source.ULP/sample-ULP-PDU-2.perbin0 -> 24 bytes
3 files changed, 4 insertions, 3 deletions
diff --git a/examples/sample.source.ULP/Makefile b/examples/sample.source.ULP/Makefile
index 417be53d..ac47e222 100644
--- a/examples/sample.source.ULP/Makefile
+++ b/examples/sample.source.ULP/Makefile
@@ -225,6 +225,7 @@ ASN_MODULE_SOURCES+=per_encoder.c
ASN_MODULE_HEADERS+=per_opentype.h
ASN_MODULE_SOURCES+=per_opentype.c
ASN_CONVERTER_SOURCES+=converter-sample.c
+ASN_CONVERTER_SOURCES+=pdu_collection.c
lib_LTLIBRARIES=libsomething.la
@@ -233,7 +234,7 @@ libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)
# This file may be used as an input for make(3)
# Remove the lines below to convert it into a pure .am file
TARGET = ulp-dump
-CFLAGS += -DASN_CONVERTER_TITLE="OMA UserPlane Location Protocol decoder" -DHAVE_CONFIG_H -DJUNKTEST -DPDU=ULP_PDU -I.
+CFLAGS += -DASN_CONVERTER_TITLE="OMA UserPlane Location Protocol decoder" -DHAVE_CONFIG_H -DJUNKTEST -DPDU=ULP_PDU -DASN_PDU_COLLECTION -I.
OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all: ULP-PDU.c $(TARGET)
@@ -254,7 +255,7 @@ clean:
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
- ../../asn1c/asn1c -S ../../skeletons -pdu=ULP-PDU -fcompound-names -gen-PER ../ulp.asn1
+ ../../asn1c/asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=auto -fcompound-names -gen-PER ../ulp.asn1
ULP-PDU.c: ../sample.makefile.regen ../ulp.asn1
@@ -264,7 +265,7 @@ ULP-PDU.c: ../sample.makefile.regen ../ulp.asn1
regen-makefile:
TITLE="OMA UserPlane Location Protocol decoder" \
- ASN1CMDOPTS="-fcompound-names -gen-PER" \
+ ASN1CMDOPTS="-pdu=auto -fcompound-names -gen-PER" \
ASN1MODULES="../ulp.asn1" \
ASN1PDU=ULP-PDU \
PROGNAME=ulp-dump \
diff --git a/examples/sample.source.ULP/sample-ULP-PDU-1.per b/examples/sample.source.ULP/sample-ULP-PDU-1.per
new file mode 100644
index 00000000..ed388e05
--- /dev/null
+++ b/examples/sample.source.ULP/sample-ULP-PDU-1.per
Binary files differ
diff --git a/examples/sample.source.ULP/sample-ULP-PDU-2.per b/examples/sample.source.ULP/sample-ULP-PDU-2.per
new file mode 100644
index 00000000..8267f50d
--- /dev/null
+++ b/examples/sample.source.ULP/sample-ULP-PDU-2.per
Binary files differ