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.232 by root, Sat Jan 21 23:50:33 2006 UTC vs.
Revision 1.233 by root, Sun Jan 22 00:36:59 2006 UTC

141// misc.C 141// misc.C
142char * rxvt_wcstombs (const wchar_t *str, int len = -1); 142char * rxvt_wcstombs (const wchar_t *str, int len = -1);
143wchar_t * rxvt_mbstowcs (const char *str, int len = -1); 143wchar_t * rxvt_mbstowcs (const char *str, int len = -1);
144char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); 144char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1);
145wchar_t * rxvt_utf8towcs (const char *str, int len = -1); 145wchar_t * rxvt_utf8towcs (const char *str, int len = -1);
146char * rxvt_strdup_cpp (const char *str);
146 147
147#define rxvt_strdup(s) ((s) ? strdup(s) : 0) 148#define rxvt_strdup(s) ((s) ? strdup(s) : 0)
148 149
149char * rxvt_r_basename (const char *str) NOTHROW; 150char * rxvt_r_basename (const char *str) NOTHROW;
150void rxvt_vlog (const char *fmt, va_list arg_ptr) NOTHROW; 151void rxvt_vlog (const char *fmt, va_list arg_ptr) NOTHROW;
214 virtual ~rxvt_ptytty () 215 virtual ~rxvt_ptytty ()
215 { 216 {
216 } 217 }
217 218
218 virtual bool get () = 0; 219 virtual bool get () = 0;
219#if UTMP_SUPPORT
220 virtual void login (int cmd_pid, bool login_shell, const char *hostname) = 0; 220 virtual void login (int cmd_pid, bool login_shell, const char *hostname) = 0;
221#endif
222 221
223 void close_tty (); 222 void close_tty ();
224 bool make_controlling_tty (); 223 bool make_controlling_tty ();
225 void set_utf8_mode (bool on); 224 void set_utf8_mode (bool on);
226}; 225};
1237 rxvt_term (); 1236 rxvt_term ();
1238 ~rxvt_term (); 1237 ~rxvt_term ();
1239 void destroy (); 1238 void destroy ();
1240 void emergency_cleanup (); 1239 void emergency_cleanup ();
1241 1240
1242 bool init (int argc, const char *const *argv); 1241 bool init (int argc, const char *const *argv, stringvec *envv);
1242
1243 bool init (stringvec *argv, stringvec *envv)
1244 {
1245 this->argv = argv;
1246 return init (argv->size (), argv->begin (), envv);
1247 }
1248
1243 bool init_vars (); 1249 bool init_vars ();
1244 1250
1245 bool pty_fill (); 1251 bool pty_fill ();
1246 1252
1247 void make_current () const // make this the "currently active" urxvt instance 1253 void make_current () const // make this the "currently active" urxvt instance

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines