Modify it to adjust Tizen IVI enviroment
[platform/upstream/kmscon.git] / src / uterm_input.h
index 36f5de2..1d5d1f0 100644 (file)
 
 struct uterm_input;
 
+typedef void (*uterm_input_log_t) (void *data,
+                                  const char *file,
+                                  int line,
+                                  const char *func,
+                                  const char *subs,
+                                  unsigned int sev,
+                                  const char *format,
+                                  va_list args);
+
 /* keep in sync with shl_xkb_mods */
 enum uterm_input_modifier {
        UTERM_SHIFT_MASK        = (1 << 0),
@@ -71,8 +80,9 @@ typedef void (*uterm_input_cb) (struct uterm_input *input,
 
 int uterm_input_new(struct uterm_input **out, struct ev_eloop *eloop,
                    const char *model, const char *layout, const char *variant,
-                   const char *options, unsigned int repeat_delay,
-                   unsigned int repeat_rate);
+                   const char *options, const char *keymap,
+                   unsigned int repeat_delay, unsigned int repeat_rate,
+                   uterm_input_log_t log, void *log_data);
 void uterm_input_ref(struct uterm_input *input);
 void uterm_input_unref(struct uterm_input *input);