From f7a029ef6bb9d1aad307da659dcf2f072ba58c0b Mon Sep 17 00:00:00 2001
From: Lev Walkin <vlm@lionet.info>
Date: Fri, 29 Jun 2007 12:59:12 +0000
Subject: [PATCH] testing data

---
 examples/sample.source.ULP/Makefile             |   7 ++++---
 examples/sample.source.ULP/sample-ULP-PDU-1.per | Bin 0 -> 29 bytes
 examples/sample.source.ULP/sample-ULP-PDU-2.per | Bin 0 -> 24 bytes
 3 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 examples/sample.source.ULP/sample-ULP-PDU-1.per
 create mode 100644 examples/sample.source.ULP/sample-ULP-PDU-2.per

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 0000000000000000000000000000000000000000..ed388e05916711de95f689bed9ad21085237bf1e
GIT binary patch
literal 29
lcmZROWn^GzU~p_<QMe!>z<eN(#X&e>iTsp31}hx@003Iy2y*}c

literal 0
HcmV?d00001

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 0000000000000000000000000000000000000000..8267f50d429d54e0820d4939588069607ecc8794
GIT binary patch
literal 24
fcmZRO;9>xRU!T3t*ev*=b6~|^o>K>Z91s8iXaEZ9

literal 0
HcmV?d00001

-- 
GitLab