[gsm] Make LCR work with current Osmocom-BB.
[lcr.git] / interface.h
index 508a33e..f271080 100644 (file)
@@ -51,8 +51,16 @@ struct interface_port {
        int                     tespecial; /* special TE-mode behavior */
        int                     l1hold; /* hold layer 1 (1=on, 0=off) */
        int                     l2hold; /* hold layer 2 (1=force, -1=disable, 0=default) */
-       int                     gsm; /* interface is an GSM interface */
+#ifdef WITH_GSM_BS
+       int                     gsm_bs; /* interface is an GSM BS interface */
+#endif
+#ifdef WITH_GSM_MS
+       int                     gsm_ms; /* interface is an GSM MS interface */
+       char                    gsm_ms_name[32]; /* name of ms */
+#endif
        unsigned int            ss5; /* set, if SS5 signalling enabled, also holds feature bits */
+       int                     remote; /* interface is a remote app interface */
+       char                    remote_app[32]; /* name of remote application */
        int                     channel_force; /* forces channel by protocol */
        int                     nodtmf; /* disables DTMF */
        struct select_channel   *out_channel; /* list of channels to select */
@@ -67,6 +75,7 @@ struct interface_port {
 //     int                     tout_park;
        int                     dialmax; /* maximum number of digits to dial */
        char                    tones_dir[128];
+       int                     nonotify; /* blocks outgoing notify messages  */
 };
 
 struct interface_msn {
@@ -87,7 +96,7 @@ struct interface_screen {
 struct interface {
        struct interface        *next;
        char                    name[64]; /* name of interface */
-       int                     external; /* interface used for extranl calls */
+       int                     external; /* interface used for external calls */
        int                     extension; /* calls are handled as extension */
        int                     is_tones; /* generate tones */
        int                     is_earlyb; /* bridge tones during call setup */