diff include/freeDiameter/libfdproto.h @ 764:f53e5b5fdfd3

Added new experimental function fd_dict_getlistof -- see http://lists.freediameter.net/pipermail/help/2011-October/000268.html for context and rationale. WARNING: this function was not tested yet...
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 18 Oct 2011 23:00:51 +0200
parents 463ffc722c1a
children c47c16436f71
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Fri Oct 14 08:15:34 2011 +0200
+++ b/include/freeDiameter/libfdproto.h	Tue Oct 18 23:00:51 2011 +0200
@@ -847,6 +847,10 @@
 void fd_dict_dump_object(struct dict_object * obj);
 void fd_dict_dump(struct dictionary * dict);
 
+/* Function to access full contents of the dictionary, see doc in dictionary.c */
+int fd_dict_getlistof(int criteria, void * parent, struct fd_list * sentinel);
+
+
 /*
  ***************************************************************************
  *
@@ -1136,6 +1140,8 @@
 /* The criteria for searching a constant in the dictionary */
 enum {
 	ENUMVAL_BY_STRUCT = 40,	/* "what" points to a struct dict_enumval_request as defined bellow */
+	ENUMVAL_BY_NAME,	/* This cannot be used for researches */
+	ENUMVAL_BY_VALUE	/* This cannot be used for researches */
 };
 
 struct dict_enumval_request {
"Welcome to our mercurial repository"