Change in osmo-remsim[master]: move 'struct rspro_server_conn' to client.h

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Oct 14 18:55:04 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/11347


Change subject: move 'struct rspro_server_conn' to client.h
......................................................................

move 'struct rspro_server_conn' to client.h

Change-Id: Iab9183de086e76a214c23b2af340253a0428e445
---
M src/client.h
M src/remsim_client_fsm.c
2 files changed, 16 insertions(+), 15 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/47/11347/1

diff --git a/src/client.h b/src/client.h
index df90404..7a3c476 100644
--- a/src/client.h
+++ b/src/client.h
@@ -14,6 +14,8 @@
 	BDC_E_CLIENT_CONN_RES,
 };
 
+extern struct osmo_fsm remsim_client_bankd_fsm;
+
 
 enum server_conn_fsm_event {
 	SRVC_E_TCP_UP,
@@ -21,7 +23,20 @@
 	SRVC_E_CLIENT_CONN_RES,
 };
 
-extern struct osmo_fsm remsim_client_bankd_fsm;
+/* representing a client-side connection to a RSPRO server */
+struct rspro_server_conn {
+	/* state */
+	struct ipa_client_conn *conn;
+	struct osmo_fsm_inst *fi;
+
+	/* our own component ID */
+	struct app_comp_id own_comp_id;
+
+	/* configuration */
+	char *server_host;
+	uint16_t server_port;
+};
+
 extern struct osmo_fsm remsim_client_server_fsm;
 
 /* main.c */
diff --git a/src/remsim_client_fsm.c b/src/remsim_client_fsm.c
index 4fb57f3..0b514e6 100644
--- a/src/remsim_client_fsm.c
+++ b/src/remsim_client_fsm.c
@@ -240,20 +240,6 @@
 	{ 0, NULL }
 };
 
-/* representing a client-side connection to a RSPRO server */
-struct rspro_server_conn {
-	/* state */
-	struct ipa_client_conn *conn;
-	struct osmo_fsm_inst *fi;
-
-	/* our own component ID */
-	struct app_comp_id own_comp_id;
-
-	/* configuration */
-	char *server_host;
-	uint16_t server_port;
-};
-
 static void srvc_updown_cb(struct ipa_client_conn *conn, int up)
 {
 	struct rspro_server_conn *srvc = conn->data;

-- 
To view, visit https://gerrit.osmocom.org/11347
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab9183de086e76a214c23b2af340253a0428e445
Gerrit-Change-Number: 11347
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181014/c9f5569d/attachment.htm>


More information about the gerrit-log mailing list