diff include/freeDiameter/libfreeDiameter.h @ 43:2db15632a63d

Added a large part of connection establishment logic, to test
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 25 Nov 2009 19:07:09 +0900
parents 0e2b57789361
children c662d3eb6ff6
line wrap: on
line diff
--- a/include/freeDiameter/libfreeDiameter.h	Thu Nov 19 17:51:23 2009 +0900
+++ b/include/freeDiameter/libfreeDiameter.h	Wed Nov 25 19:07:09 2009 +0900
@@ -717,8 +717,10 @@
 	 printf("my vendor id: %d\n", myvendordata.vendor_id );
  }
 		 
- 
 */
+		
+/* Special function: */
+uint32_t * fd_dict_get_vendorid_list(struct dictionary * dict);
 	 
 /*
  ***************************************************************************
@@ -1328,6 +1330,9 @@
 */
 		
 /* Define some hard-coded values */
+/* Application */
+#define AI_RELAY			0xffffffff
+
 /* Commands Codes */
 #define CC_CAPABILITIES_EXCHANGE	257
 #define CC_RE_AUTH			258
@@ -1368,6 +1373,8 @@
 #define AC_ERROR_REPORTING_HOST		294
 #define AC_ORIGIN_REALM			296
 #define AC_INBAND_SECURITY_ID		299
+#define ACV_ISI_NO_INBAND_SECURITY		0
+#define ACV_ISI_TLS				1
 
 /* Error codes */
 #define ER_DIAMETER_SUCCESS			2001
@@ -2425,18 +2432,18 @@
  * FUNCTION:	fd_fifo_move
  *
  * PARAMETERS:
- *  old		: Location of a FIFO that is to be emptied and deleted.
+ *  old		: Location of a FIFO that is to be emptied.
  *  new		: A FIFO that will receive the old data.
  *  loc_update	: if non NULL, a place to store the pointer to new FIFO atomically with the move.
  *
  * DESCRIPTION: 
- *  Delete a queue and move its content to another one atomically.
+ *  Empties a queue and move its content to another one atomically.
  *
  * RETURN VALUE:
  *  0		: The queue has been destroyed successfully.
  *  EINVAL 	: A parameter is invalid.
  */
-int fd_fifo_move ( struct fifo ** old, struct fifo * new, struct fifo ** loc_update );
+int fd_fifo_move ( struct fifo * old, struct fifo * new, struct fifo ** loc_update );
 
 /*
  * FUNCTION:	fd_fifo_length
"Welcome to our mercurial repository"