summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-08-01 11:56:17 +0200
committerSylvain Munaut <tnt@246tNt.com>2010-09-14 21:21:42 +0200
commit02c4650af1dc8e99c3c1e565724072485d61c4b4 (patch)
tree8a8debd8a7d5842cf788a32db2019df5e67bb42b /src/host/layer23/include/osmocom
parente746ca06ca8cadfd889f5380e8ca851d86540700 (diff)
layer23: Move app logic in layer3.c with state struct.
It's far from perfect but at least it's not split in two file and makes it easier to expand the logic. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/include/osmocom')
-rw-r--r--src/host/layer23/include/osmocom/bb/misc/layer3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/misc/layer3.h b/src/host/layer23/include/osmocom/bb/misc/layer3.h
index dc7da87f..7d364e7a 100644
--- a/src/host/layer23/include/osmocom/bb/misc/layer3.h
+++ b/src/host/layer23/include/osmocom/bb/misc/layer3.h
@@ -11,4 +11,7 @@ int gsm48_rx_bcch(struct msgb *msg, struct osmocom_ms *ms);
/* Initialize layer3 for the MS, hook it to L2 */
int layer3_init(struct osmocom_ms *ms);
+/* Reset the 'aplication' state */
+void layer3_app_reset(void);
+
#endif