comparison include/freeDiameter/extension.h @ 658:f198d16fa7f4

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
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 14 Jan 2011 15:15:23 +0900
parents 3e143f047f78
children 4a0b61061a6d
comparison
equal deleted inserted replaced
656:5b05d85682f1 658:f198d16fa7f4
1 /********************************************************************************************************* 1 /*********************************************************************************************************
2 * Software License Agreement (BSD License) * 2 * Software License Agreement (BSD License) *
3 * Author: Sebastien Decugis <sdecugis@nict.go.jp> * 3 * Author: Sebastien Decugis <sdecugis@nict.go.jp> *
4 * * 4 * *
5 * Copyright (c) 2009, WIDE Project and NICT * 5 * Copyright (c) 2011, WIDE Project and NICT *
6 * All rights reserved. * 6 * All rights reserved. *
7 * * 7 * *
8 * Redistribution and use of this software in source and binary forms, with or without modification, are * 8 * Redistribution and use of this software in source and binary forms, with or without modification, are *
9 * permitted provided that the following conditions are met: * 9 * permitted provided that the following conditions are met: *
10 * * 10 * *
36 #ifndef _EXTENSION_H 36 #ifndef _EXTENSION_H
37 #define _EXTENSION_H 37 #define _EXTENSION_H
38 38
39 /* Include definition of freeDiameter API */ 39 /* Include definition of freeDiameter API */
40 #include <freeDiameter/freeDiameter-host.h> 40 #include <freeDiameter/freeDiameter-host.h>
41 #include <freeDiameter/freeDiameter.h> 41 #include <freeDiameter/libfdcore.h>
42 42
43 /* Macro that define the entry point of the extension */ 43 /* Macro that define the entry point of the extension */
44 #define EXTENSION_ENTRY(_name, _function) \ 44 #define EXTENSION_ENTRY(_name, _function) \
45 static int extension_loaded = 0; \ 45 static int extension_loaded = 0; \
46 int fd_ext_init(int major, int minor, char * conffile) { \ 46 int fd_ext_init(int major, int minor, char * conffile) { \
"Welcome to our mercurial repository"