Navigation


Changeset 658:f198d16fa7f4 in freeDiameter for libfdproto/init.c


Ignore:
Timestamp:
Jan 14, 2011, 3:15:23 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Initial commit for 1.1.0:

  • Restructuring:
    • libfreeDiameter:
      • renamed folder & binary into libfdproto
      • renamed libfD.h into fdproto-internal.h
      • removed signals management (replaced by triggers in libfdcore)
  • freeDiameter split into:
    • libfdcore (most contents)
      • renamed fD.h into fdcore-internal.h
      • added core.c for framework init/shutdown.
      • new triggers mechanism in events.c.
  • freeDiameterd (main, command line parsing, signals management)
  • tests:
    • now in top-level directory tests.
  • other changes:
    • fd_dict_new now returns 0 on duplicate identical entries.
    • fixes in dict_legacy_xml
    • fixes in some dictionaries
    • moved FD_DEFAULT_CONF_FILENAME definition to freeDiameter-host.h
File:
1 moved

Legend:

Unmodified
Added
Removed
  • libfdproto/init.c

    r454 r658  
    3434*********************************************************************************************************/
    3535
    36 #include "libfD.h"
     36#include "fdproto-internal.h"
    3737
    3838/* Only for CPU cache flush */
     
    4040
    4141/* Initialize library variables and threads */
    42 int fd_lib_init(int support_signals)
     42int fd_libproto_init()
    4343{
    4444        int ret = 0;
     
    5151        }
    5252       
    53         /* Initialize signals if requested */
    54         if (support_signals) {
    55                 CHECK_FCT( fd_sig_init() );
    56         }
    57        
    5853        /* Initialize the modules that need it */
    5954        fd_msg_eteid_init();
     
    6459
    6560/* Stop all threads created in the library */
    66 void fd_lib_fini(void)
     61void fd_libproto_fini(void)
    6762{
    6863        fd_sess_fini();
    69         fd_sig_fini();
    7064}
Note: See TracChangeset for help on using the changeset viewer.