Removed calls to strerror() function from own libsamba implementation.
[midnight-commander.git] / src / selcodepage.h
blob8b02102f117c69f273a1b21fbfd4dfe466be28a6
2 /** \file selcodepage.h
3 * \brief Header: user %interface for charset %selection
4 */
6 #ifndef MC_SELCODEPAGE_H
7 #define MC_SELCODEPAGE_H
9 #ifdef HAVE_CHARSET
11 #include "global.h"
13 int select_charset (int center_y, int center_x, int current_charset, gboolean seldisplay);
14 gboolean do_select_codepage (void);
16 /* some results of select_charset() */
17 #define SELECT_CHARSET_CANCEL -2
18 /* select_charset() returns this value if dialog has been canceled */
19 #define SELECT_CHARSET_OTHER_8BIT -1
20 /* select_charset() returns this value if seldisplay == TRUE
21 * and the last item has been selected. Last item is "Other 8 bits" */
22 #define SELECT_CHARSET_NO_TRANSLATE -1
23 /* select_charset() returns this value if seldisplay == FALSE
24 * and the 1st item has been selected. 1st item is "No translation" */
25 /* In other cases select_charset() returns non-negative value
26 * which is number of codepage in codepage list */
28 #endif /* HAVE_CHARSET */
30 #endif /* MC_SELCODEPAGE_H */