#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
#include <readline/history.h>
#endif
#endif
+#endif
#undef PARAMS
/**************************************************************************
* 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
char *doc; /* Long description. */
} LPC_COMMAND;
+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
bool_t linphonec_get_autoanswer();
void linphonec_command_finished(void);
void linphonec_set_caller(const char *caller);
+LinphoneCall *linphonec_get_call(long id);
+void linphonec_call_identify(LinphoneCall* call);
+
+extern bool_t linphonec_camera_enabled;
#endif /* def LINPHONEC_H */