ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/ircd.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/ircd.c (file contents):
Revision 1718 by michael, Thu Dec 27 19:03:00 2012 UTC vs.
Revision 1798 by michael, Sun Mar 31 17:09:50 2013 UTC

# Line 432 | Line 432 | setup_corefile(void)
432   * side effects - setups SSL context.
433   */
434   static void
435 < init_ssl(void)
435 > ssl_init(void)
436   {
437   #ifdef HAVE_LIBCRYPTO
438    SSL_load_error_strings();
# Line 466 | Line 466 | init_ssl(void)
466   #endif /* HAVE_LIBCRYPTO */
467   }
468  
469 – /* init_callbacks()
470 – *
471 – * inputs       - nothing
472 – * output       - nothing
473 – * side effects - setups standard hook points
474 – */
475 – static void
476 – init_callbacks(void)
477 – {
478 –  iorecv_cb = register_callback("iorecv", iorecv_default);
479 –  iosend_cb = register_callback("iosend", iosend_default);
480 – }
481 –
469   int
470   main(int argc, char *argv[])
471   {
# Line 531 | Line 518 | main(int argc, char *argv[])
518      exit(EXIT_FAILURE);
519    }
520  
521 <  init_ssl();
521 >  ssl_init();
522  
523    if (!server_state.foreground)
524    {
# Line 555 | Line 542 | main(int argc, char *argv[])
542  
543    mp_pool_init();
544    init_dlink_nodes();
558 –  init_callbacks();
545    initialize_message_files();
546    dbuf_init();
547 <  init_hash();
547 >  hash_init();
548    init_ip_hash_table();      /* client host ip hash table */
549    init_host_hash();          /* Host-hashtable. */
550 <  init_client();
550 >  client_init();
551    class_init();
552    whowas_init();
553    watch_init();
554 <  init_auth();          /* Initialise the auth code */
554 >  auth_init();          /* Initialise the auth code */
555    init_resolver();      /* Needs to be setup before the io loop */
556    modules_init();
557    read_conf_files(1);   /* cold start init conf files */
558    init_uid();
559    initialize_server_capabs();   /* Set up default_server_capabs */
560    initialize_global_set_options();
561 <  init_channels();
561 >  channel_init();
562  
563    if (EmptyString(ServerInfo.sid))
564    {

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)