added: autoconf environment
[lcr.git] / interface.h
index f7d56c9..1022e38 100644 (file)
@@ -48,11 +48,13 @@ struct interface_port {
        struct interface        *interface; /* link to interface */
        struct mISDNport        *mISDNport; /* link to port */
        int                     portnum; /* port number */
-       int                     ptp; /* load stack in PTP mode */
+       int                     ptp; /* force load stack in PTP mode */
+       int                     ptmp; /* force load stack in PTP mode */
+       int                     nt; /* load stack in NT-mode */
        int                     channel_force; /* forces channel by protocol */
-       struct select_channel   *out_select; /* list of channels to select */
-       struct select_channel   *in_select; /* the same for incoming channels */
-//     int                     open; /* set if port is opened */
+       int                     nodtmf; /* disables DTMF */
+       struct select_channel   *out_channel; /* list of channels to select */
+       struct select_channel   *in_channel; /* the same for incoming channels */
        int                     block; /* set if interface is blocked */
 };
 
@@ -108,6 +110,7 @@ extern char interface_error[256];
 struct interface *read_interfaces(void);
 void free_interfaces(struct interface *interface_start);
 void relink_interfaces(void);
+void load_port(struct interface_port *ifport);
 void doc_interface(void);