ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing cvsroot/rxvt-unicode/src/rxvt.h (file contents):
Revision 1.336 by ayin, Wed Dec 26 13:52:11 2007 UTC vs.
Revision 1.337 by ayin, Wed Dec 26 14:16:23 2007 UTC

106 ***************************************************************************** 106 *****************************************************************************
107 * PROTOTYPES 107 * PROTOTYPES
108 ***************************************************************************** 108 *****************************************************************************
109 */ 109 */
110// main.C 110// main.C
111void * rxvt_malloc (size_t size); 111#define SET_LOCALE(locale) rxvt_set_locale (locale)
112void * rxvt_calloc (size_t number, size_t size); 112extern bool rxvt_set_locale (const char *locale) NOTHROW;
113void * rxvt_realloc (void *ptr, size_t size); 113extern void rxvt_push_locale (const char *locale) NOTHROW;
114extern void rxvt_pop_locale () NOTHROW;
114 115
115// misc.C 116// misc.C
116char * rxvt_wcstombs (const wchar_t *str, int len = -1); 117char * rxvt_wcstombs (const wchar_t *str, int len = -1);
117wchar_t * rxvt_mbstowcs (const char *str, int len = -1); 118wchar_t * rxvt_mbstowcs (const char *str, int len = -1);
118char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); 119char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1);
126void rxvt_exit_failure () THROW ((class rxvt_failure_exception)) NORETURN; 127void rxvt_exit_failure () THROW ((class rxvt_failure_exception)) NORETURN;
127 128
128char * rxvt_strtrim (char *str) NOTHROW; 129char * rxvt_strtrim (char *str) NOTHROW;
129char ** rxvt_splitcommastring (const char *cs) NOTHROW; 130char ** rxvt_splitcommastring (const char *cs) NOTHROW;
130void rxvt_freecommastring (char **cs) NOTHROW; 131void rxvt_freecommastring (char **cs) NOTHROW;
132
133void * rxvt_malloc (size_t size);
134void * rxvt_calloc (size_t number, size_t size);
135void * rxvt_realloc (void *ptr, size_t size);
131 136
132///////////////////////////////////////////////////////////////////////////// 137/////////////////////////////////////////////////////////////////////////////
133 138
134// temporarily replace the process environment 139// temporarily replace the process environment
135extern char **environ; 140extern char **environ;
723 - scrollbar_minheight ()) 728 - scrollbar_minheight ())
724 729
725typedef callback<void (const char *)> log_callback; 730typedef callback<void (const char *)> log_callback;
726typedef callback<int (int)> getfd_callback; 731typedef callback<int (int)> getfd_callback;
727 732
728#define SET_LOCALE(locale) rxvt_set_locale (locale)
729extern bool rxvt_set_locale (const char *locale) NOTHROW;
730extern void rxvt_push_locale (const char *locale) NOTHROW;
731extern void rxvt_pop_locale () NOTHROW;
732
733/****************************************************************************/ 733/****************************************************************************/
734 734
735#define LINE_LONGER 0x0001 // line is continued on the next row 735#define LINE_LONGER 0x0001 // line is continued on the next row
736#define LINE_FILTERED 0x0002 // line has been filtered 736#define LINE_FILTERED 0x0002 // line has been filtered
737#define LINE_COMPRESSED 0x0004 // line has been compressed (NYI) 737#define LINE_COMPRESSED 0x0004 // line has been compressed (NYI)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines