[chan_lcr] Fixed uninitialized variable in ast_read()
[lcr.git] / interface.h
index 7dce3ad..d1bea04 100644 (file)
@@ -51,7 +51,15 @@ 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 */
+       char                    gsm_ms_socket[128]; /* layer1 socket name */
+       char                    gsm_ms_service; /* see GSM_SERVICE_* */
+#endif
        unsigned int            ss5; /* set, if SS5 signalling enabled, also holds feature bits */
        int                     channel_force; /* forces channel by protocol */
        int                     nodtmf; /* disables DTMF */
@@ -88,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 */