Mercurial > hg > freeDiameter
comparison include/freeDiameter/libfdproto.h @ 778:003df4a9ade2
Added two new interfaces on Zach requests http://lists.freediameter.net/pipermail/help/2012-January/000312.html and http://lists.freediameter.net/pipermail/help/2012-January/000311.html
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Sat, 21 Jan 2012 16:11:34 +0100 |
parents | 99136ec7d9d4 |
children | e87d083d0342 |
comparison
equal
deleted
inserted
replaced
777:cfc714065cb8 | 778:003df4a9ade2 |
---|---|
848 void fd_dict_dump(struct dictionary * dict); | 848 void fd_dict_dump(struct dictionary * dict); |
849 | 849 |
850 /* Function to access full contents of the dictionary, see doc in dictionary.c */ | 850 /* Function to access full contents of the dictionary, see doc in dictionary.c */ |
851 int fd_dict_getlistof(int criteria, void * parent, struct fd_list ** sentinel); | 851 int fd_dict_getlistof(int criteria, void * parent, struct fd_list ** sentinel); |
852 | 852 |
853 /* Function to remove an entry from the dictionary. | |
854 This cannot be used if the object has children (for example a vendor with vendor-specific AVPs). | |
855 In such case, the children must be removed first. */ | |
856 int fd_dict_delete(struct dict_object * obj); | |
853 | 857 |
854 /* | 858 /* |
855 *************************************************************************** | 859 *************************************************************************** |
856 * | 860 * |
857 * Vendor object | 861 * Vendor object |
1857 | 1861 |
1858 /* For debug */ | 1862 /* For debug */ |
1859 void fd_sess_dump(int level, struct session * session); | 1863 void fd_sess_dump(int level, struct session * session); |
1860 void fd_sess_dump_hdl(int level, struct session_handler * handler); | 1864 void fd_sess_dump_hdl(int level, struct session_handler * handler); |
1861 | 1865 |
1866 /* For statistics / monitoring: get the number of struct session in memory */ | |
1867 int fd_sess_getcount(uint32_t *cnt); | |
1868 | |
1862 /*============================================================*/ | 1869 /*============================================================*/ |
1863 /* ROUTING */ | 1870 /* ROUTING */ |
1864 /*============================================================*/ | 1871 /*============================================================*/ |
1865 | 1872 |
1866 /* The following functions are helpers for the routing module. | 1873 /* The following functions are helpers for the routing module. |