Navigation


Changeset 22:0b3b46da2c12 in freeDiameter for freeDiameter/main.c


Ignore:
Timestamp:
Oct 19, 2009, 6:43:09 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Progress on server code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/main.c

    r20 r22  
    5151struct fd_config * fd_g_config = &conf;
    5252
     53/* gcrypt functions to support posix threads */
    5354GCRY_THREAD_OPTION_PTHREAD_IMPL;
    5455
     
    105106        CHECK_FCT(  fd_ext_load()  );
    106107       
     108        /* Start the servers */
     109        CHECK_FCT( fd_servers_start() );
     110       
    107111        /* Start the peer state machines */
    108112        CHECK_FCT( fd_psm_start() );
     
    154158       
    155159        /* cleanups */
     160        CHECK_FCT_DO( fd_servers_stop(), /* Stop accepting new connections */ );
    156161        TODO("Stop dispatch thread(s) properly (no cancel yet)");
    157162        CHECK_FCT_DO( fd_peer_fini(), /* Stop all connections */ );
Note: See TracChangeset for help on using the changeset viewer.