Navigation


Changeset 123:960fa8048805 in freeDiameter for freeDiameter/queues.c


Ignore:
Timestamp:
Dec 9, 2009, 7:02:31 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Merged routing and dispatch files for similarities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/queues.c

    r13 r123  
    5151}
    5252
    53 /* Destroy the message queues */
    54 int fd_queues_fini(void)
     53/* Destroy the routing message queues */
     54int fd_queues_fini_rt(void)
    5555{
    5656        TRACE_ENTRY();
    57        
    58         /* Stop the providing threads */
    59         TODO("Stop the providing threads");
    6057       
    6158        /* Empty all contents */
     
    6562        CHECK_FCT( fd_fifo_del ( &fd_g_incoming ) );
    6663        CHECK_FCT( fd_fifo_del ( &fd_g_outgoing ) );
     64       
     65        return 0;
     66}
     67
     68/* Destroy the local message queue */
     69int fd_queues_fini_disp(void)
     70{
     71        TRACE_ENTRY();
     72       
     73        /* Empty all contents */
     74        TODO("Empty all contents (dump to log file ?)");
     75       
    6776        CHECK_FCT( fd_fifo_del ( &fd_g_local ) );
    6877       
Note: See TracChangeset for help on using the changeset viewer.