]> sjero.net Git - linphone/blobdiff - console/linphonec.h
Aac-eld add missing header according to RFC3640 3.3.6
[linphone] / console / linphonec.h
index 5f91b1b50f9931342ec8bc7501e1e36f6c94c736..3265d42ac3de2ed191342815cdc3ab99026edd03 100644 (file)
 #include "config.h"
 #endif
 
+#ifdef HAVE_READLINE
 #ifdef HAVE_READLINE_H
 #include <readline.h>
-#define HAVE_READLINE
 #else
 #ifdef HAVE_READLINE_READLINE_H
 #include <readline/readline.h>
-#define HAVE_READLINE
 #endif
 #endif
 #ifdef HAVE_HISTORY_H
@@ -45,6 +44,7 @@
 #include <readline/history.h>
 #endif
 #endif
+#endif
 
 #undef PARAMS
 /**************************************************************************
@@ -67,7 +67,7 @@
  * Time between calls to linphonec_idle_call during main
  * input read loop in microseconds.
  */
-#define LPC_READLINE_TIMEOUT 1000000
+#define LPC_READLINE_TIMEOUT 10000
 
 /*
  * Filename of linphonec history
@@ -99,10 +99,15 @@ typedef struct {
 
 typedef struct {
        int x,y,w,h;
+       unsigned long wid;
        bool_t show;
        bool_t refresh;
 } VideoParams;
 
+
+extern VideoParams lpc_video_params;
+extern VideoParams lpc_preview_params;
+
 /***************************************************************************
  *
  *  Forward declarations