comparison include/freeDiameter/libfdproto.h @ 1102:1d7b3ebda27f

Implemented the calls to HOOK_DATA_RECEIVED hook
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 09 May 2013 16:40:02 +0800
parents 40b48a3997a2
children d8591b1c56cd
comparison
equal deleted inserted replaced
1101:40b48a3997a2 1102:1d7b3ebda27f
2550 /* Helper for the hooks mechanism, for use from libfdcore */ 2550 /* Helper for the hooks mechanism, for use from libfdcore */
2551 struct fd_msg_pmdl { 2551 struct fd_msg_pmdl {
2552 struct fd_list sentinel; /* if the sentinel.o field is NULL, the structure is not initialized. Otherwise it points to the cleanup function in libfdcore. */ 2552 struct fd_list sentinel; /* if the sentinel.o field is NULL, the structure is not initialized. Otherwise it points to the cleanup function in libfdcore. */
2553 pthread_mutex_t lock; 2553 pthread_mutex_t lock;
2554 }; 2554 };
2555 #define FD_MSG_PMDL_INITIALIZER(pmdl_ptr) { FD_LIST_INITIALIZER( (pmdl_ptr)->sentinel ), PTHREAD_MUTEX_INITIALIZER }
2556 struct fd_msg_pmdl * fd_msg_pmdl_get(struct msg * msg); 2555 struct fd_msg_pmdl * fd_msg_pmdl_get(struct msg * msg);
2556
2557 2557
2558 /***************************************/ 2558 /***************************************/
2559 /* Manage AVP values */ 2559 /* Manage AVP values */
2560 /***************************************/ 2560 /***************************************/
2561 2561
"Welcome to our mercurial repository"