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

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.297 by ayin, Sun Aug 26 16:55:58 2007 UTC vs.
Revision 1.301 by ayin, Sat Sep 8 20:55:49 2007 UTC

118void rxvt_log (const char *fmt,...) NOTHROW; 118void rxvt_log (const char *fmt,...) NOTHROW;
119void rxvt_warn (const char *fmt,...) NOTHROW; 119void rxvt_warn (const char *fmt,...) NOTHROW;
120void rxvt_fatal (const char *fmt, ...) THROW ((class rxvt_failure_exception)) NORETURN; 120void rxvt_fatal (const char *fmt, ...) THROW ((class rxvt_failure_exception)) NORETURN;
121void rxvt_exit_failure () THROW ((class rxvt_failure_exception)) NORETURN; 121void rxvt_exit_failure () THROW ((class rxvt_failure_exception)) NORETURN;
122 122
123int rxvt_Str_match (const char *s1, const char *s2) NOTHROW;
124const char * rxvt_Str_skip_space (const char *str) NOTHROW;
125char * rxvt_Str_trim (char *str) NOTHROW; 123char * rxvt_Str_trim (char *str) NOTHROW;
126int rxvt_Str_escaped (char *str) NOTHROW;
127char ** rxvt_splitcommastring (const char *cs) NOTHROW; 124char ** rxvt_splitcommastring (const char *cs) NOTHROW;
128void rxvt_freecommastring (char **cs) NOTHROW; 125void rxvt_freecommastring (char **cs) NOTHROW;
129 126
130///////////////////////////////////////////////////////////////////////////// 127/////////////////////////////////////////////////////////////////////////////
131 128
132// temporarily replace the process environment 129// temporarily replace the process environment
133extern char **environ; 130extern char **environ;
134extern char **rxvt_environ; // the original environ pointer 131extern char **rxvt_environ; // the original environ pointer
135 132
136inline void set_environ (stringvec *envv) 133static inline void set_environ (stringvec *envv)
137{ 134{
138#if ENABLE_PERL 135#if ENABLE_PERL
139 assert (envv); 136 assert (envv);
140#else 137#else
141 if (envv) 138 if (envv)
142#endif 139#endif
143 environ = (char **)envv->begin (); 140 environ = (char **)envv->begin ();
144} 141}
145 142
146inline void set_environ (char **envv) 143static inline void set_environ (char **envv)
147{ 144{
148#if ENABLE_PERL 145#if ENABLE_PERL
149 assert (envv); 146 assert (envv);
150#else 147#else
151 if (envv) 148 if (envv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines