api_process.h

Go to the documentation of this file.
00001 
00055 #ifndef __CDP_API_PROCESS_H_
00056 #define __CDP_API_PROCESS_H_
00057 
00058 #include "peer.h"
00059 #include "diameter.h"
00060 
00064 enum handler_types {
00065     REQUEST_HANDLER=0,  
00066     RESPONSE_HANDLER=1  
00067 };
00068 
00072 typedef struct handler_t{
00073     enum handler_types type;                    
00074     union {
00075         AAARequestHandler_f *requestHandler;    
00076         AAAResponseHandler_f *responseHandler;  
00077     } handler;                                  
00078     void *param;                                
00079     struct handler_t *next;             
00080     struct handler_t *prev;             
00081 } handler;
00082         
00083 typedef struct handler_list_t{
00084     handler *head;              
00085     handler *tail;              
00086 } handler_list;
00087         
00088 int api_callback(peer *p,AAAMessage *msg,void* ptr);
00089 
00090 #endif /*API_PROCESS_H_*/

Generated on Tue Jul 29 04:19:11 2008 for Open IMS Core CSCFs by  doxygen 1.5.2