/[weechat]/weechat/src/common/weechat.c
ViewVC logotype

Diff of /weechat/src/common/weechat.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by flashcode, Sat Nov 1 23:19:01 2003 UTC revision 1.5 by flashcode, Sun Nov 16 19:40:36 2003 UTC
# Line 56  Line 56 
56  #include "command.h"  #include "command.h"
57  #include "../irc/irc.h"  #include "../irc/irc.h"
58  #include "../gui/gui.h"  #include "../gui/gui.h"
59    #include "../plugins/plugins.h"
60    
61    
62  /* char *display_name; */  /* char *display_name; */
# Line 65  FILE *log_file;             /* WeeChat l Line 66  FILE *log_file;             /* WeeChat l
66    
67    
68  /*  /*
69   * log_printf: displays a message in WeeChat log (~/.weechat/weechat.log)   * wee_log_printf: displays a message in WeeChat log (~/.weechat/weechat.log)
70   */   */
71    
72  void  void
73  log_printf (char *message, ...)  wee_log_printf (char *message, ...)
74  {  {
75      static char buffer[4096];      static char buffer[4096];
76      va_list argptr;      va_list argptr;
# Line 271  main (int argc, char *argv[]) Line 272  main (int argc, char *argv[])
272      /* init gui */      /* init gui */
273      gui_init ();      gui_init ();
274            
275        /* init plugin interface(s) */
276        plugins_init ();
277        
278      /* Welcome message - yeah! */      /* Welcome message - yeah! */
279      if (cfg_look_startup_logo)      if (cfg_look_startup_logo)
280      {      {
# Line 315  main (int argc, char *argv[]) Line 319  main (int argc, char *argv[])
319                  irc_login (ptr_server);                  irc_login (ptr_server);
320          }          }
321      }      }
322        
323        /* WeeChat main loop */
324      gui_main_loop ();      gui_main_loop ();
325        
326        /* end plugin interface(s) */
327        plugins_end ();
328        
329        /* disconnect from all servers */
330      server_disconnect_all ();      server_disconnect_all ();
331    
332      /* save config file */      /* save config file */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26