RSPRO: Add new ResetState{Req,Res}
These commands are introduced to enable the server to request the
full reset of all state in a client or bankd. This is particularly
useful in TTCN-3 tests, where we typically want to reset the state
between tests.
Change-Id: I442bab523486bbdf2faa8028f8972cd0af795303
diff --git a/include/osmocom/rspro/Makefile.am b/include/osmocom/rspro/Makefile.am
index 4ffaa32..7549ffb 100644
--- a/include/osmocom/rspro/Makefile.am
+++ b/include/osmocom/rspro/Makefile.am
@@ -31,6 +31,8 @@
PortNumber.h \
RemoveMappingReq.h \
RemoveMappingRes.h \
+ ResetStateReq.h \
+ ResetStateRes.h \
ResultCode.h \
RsproPDU.h \
RsproPDUchoice.h \
diff --git a/include/osmocom/rspro/ResetStateReq.h b/include/osmocom/rspro/ResetStateReq.h
new file mode 100644
index 0000000..b56fe43
--- /dev/null
+++ b/include/osmocom/rspro/ResetStateReq.h
@@ -0,0 +1,39 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "RSPRO"
+ * found in "../../asn1/RSPRO.asn"
+ */
+
+#ifndef _ResetStateReq_H_
+#define _ResetStateReq_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* ResetStateReq */
+typedef struct ResetStateReq {
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} ResetStateReq_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_ResetStateReq;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ResetStateReq_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/rspro/ResetStateRes.h b/include/osmocom/rspro/ResetStateRes.h
new file mode 100644
index 0000000..622375e
--- /dev/null
+++ b/include/osmocom/rspro/ResetStateRes.h
@@ -0,0 +1,41 @@
+/*
+ * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * From ASN.1 module "RSPRO"
+ * found in "../../asn1/RSPRO.asn"
+ */
+
+#ifndef _ResetStateRes_H_
+#define _ResetStateRes_H_
+
+
+#include <asn_application.h>
+
+/* Including external dependencies */
+#include <osmocom/rspro/ResultCode.h>
+#include <constr_SEQUENCE.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* ResetStateRes */
+typedef struct ResetStateRes {
+ ResultCode_t result;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} ResetStateRes_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_ResetStateRes;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ResetStateRes_H_ */
+#include <asn_internal.h>
diff --git a/include/osmocom/rspro/RsproPDUchoice.h b/include/osmocom/rspro/RsproPDUchoice.h
index d603fa1..ebb2971 100644
--- a/include/osmocom/rspro/RsproPDUchoice.h
+++ b/include/osmocom/rspro/RsproPDUchoice.h
@@ -24,6 +24,8 @@
#include <osmocom/rspro/ConfigClientBankReq.h>
#include <osmocom/rspro/ConfigClientBankRes.h>
#include <osmocom/rspro/ErrorInd.h>
+#include <osmocom/rspro/ResetStateReq.h>
+#include <osmocom/rspro/ResetStateRes.h>
#include <osmocom/rspro/SetAtrReq.h>
#include <osmocom/rspro/SetAtrRes.h>
#include <osmocom/rspro/TpduModemToCard.h>
@@ -52,6 +54,8 @@
RsproPDUchoice_PR_configClientBankReq,
RsproPDUchoice_PR_configClientBankRes,
RsproPDUchoice_PR_errorInd,
+ RsproPDUchoice_PR_resetStateReq,
+ RsproPDUchoice_PR_resetStateRes,
RsproPDUchoice_PR_setAtrReq,
RsproPDUchoice_PR_setAtrRes,
RsproPDUchoice_PR_tpduModemToCard,
@@ -79,6 +83,8 @@
ConfigClientBankReq_t configClientBankReq;
ConfigClientBankRes_t configClientBankRes;
ErrorInd_t errorInd;
+ ResetStateReq_t resetStateReq;
+ ResetStateRes_t resetStateRes;
SetAtrReq_t setAtrReq;
SetAtrRes_t setAtrRes;
TpduModemToCard_t tpduModemToCard;