Refactor inputwin.c

This commit is contained in:
James Booth
2015-01-18 22:55:51 +00:00
parent 8954adc620
commit 9ecdb39433
3 changed files with 142 additions and 104 deletions

View File

@@ -36,6 +36,13 @@
#define COMMON_H
#include <stdio.h>
#include <wchar.h>
#ifdef HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H
#include <ncurses.h>
#endif
#include <glib.h>
@@ -105,6 +112,7 @@ char * str_replace(const char *string, const char *substr,
const char *replacement);
int str_contains(const char str[], int size, char ch);
int utf8_display_len(const char * const str);
gboolean utf8_is_printable(const wint_t ch);
char * prof_getline(FILE *stream);
char* release_get_latest(void);
gboolean release_is_new(char *found_version);