Definition in file cdp_load.h.
#include "utils.h"
#include "diameter.h"
#include "diameter_ims.h"
#include "peer.h"
Go to the source code of this file.
| #define CDP_FOR_SER 1 |
| #define NO_SCRIPT -1 |
Definition at line 64 of file cdp_load.h.
Referenced by icscf_mod_init(), isc_init(), load_scscf(), and mod_init().
| typedef AAAMessage*(*) AAACreateRequest_f(AAAApplicationId app_id, AAACommandCode command_code, AAAMsgFlag flags, AAASessionId *sessId) |
Definition at line 67 of file cdp_load.h.
| typedef AAAMessage*(*) AAACreateResponse_f(AAAMessage *request) |
Definition at line 71 of file cdp_load.h.
| typedef AAASessionId(*) AAACreateSession_f() |
Definition at line 73 of file cdp_load.h.
| typedef int(*) AAADropSession_f(AAASessionId *s) |
Definition at line 74 of file cdp_load.h.
| typedef AAATransaction*(*) AAACreateTransaction_f(AAAApplicationId app_id, AAACommandCode cmd_code) |
Definition at line 76 of file cdp_load.h.
| typedef int(*) AAADropTransaction_f(AAATransaction *trans) |
Definition at line 77 of file cdp_load.h.
| typedef AAA_AVP*(*) AAACreateAVP_f(AAA_AVPCode code, AAA_AVPFlag flags, AAAVendorId vendorId, char *data, size_t length, AVPDataStatus data_status) |
Definition at line 80 of file cdp_load.h.
| typedef AAAReturnCode(*) AAAAddAVPToMessage_f(AAAMessage *msg, AAA_AVP *avp, AAA_AVP *position) |
Definition at line 88 of file cdp_load.h.
| typedef AAA_AVP*(*) AAAFindMatchingAVP_f(AAAMessage *msg, AAA_AVP *startAvp, AAA_AVPCode avpCode, AAAVendorId vendorId, AAASearchType searchType) |
Definition at line 93 of file cdp_load.h.
| typedef AAA_AVP*(*) AAAFindMatchingAVPList_f(AAA_AVP_LIST avpList, AAA_AVP *startAvp, AAA_AVPCode avpCode, AAAVendorId vendorId, AAASearchType searchType) |
Definition at line 100 of file cdp_load.h.
| typedef AAA_AVP*(*) AAAGetNextAVP_f(AAA_AVP *avp) |
Definition at line 106 of file cdp_load.h.
| typedef AAAReturnCode(*) AAAFreeAVP_f(AAA_AVP **avp) |
Definition at line 110 of file cdp_load.h.
| typedef AAAReturnCode(*) AAAFreeAVPList_f(AAA_AVP_LIST *avpList) |
Definition at line 113 of file cdp_load.h.
| typedef str(*) AAAGroupAVPS_f(AAA_AVP_LIST avps) |
Definition at line 115 of file cdp_load.h.
| typedef AAA_AVP_LIST(*) AAAUngroupAVPS_f(str buf) |
Definition at line 117 of file cdp_load.h.
| typedef AAAReturnCode(*) AAASendMessage_f(AAAMessage *message, AAATransactionCallback_f *callback_f, void *callback_param) |
Definition at line 120 of file cdp_load.h.
| typedef AAAReturnCode(*) AAASendMessageToPeer_f(AAAMessage *message, str *peer_id, AAATransactionCallback_f *callback_f, void *callback_param) |
Definition at line 125 of file cdp_load.h.
| typedef AAAMessage*(*) AAASendRecvMessage_f(AAAMessage *msg) |
Definition at line 131 of file cdp_load.h.
| typedef AAAMessage*(*) AAASendRecvMessageToPeer_f(AAAMessage *msg, str *peer_id) |
Definition at line 133 of file cdp_load.h.
| typedef AAAReturnCode(*) AAAFreeMessage_f(AAAMessage **message) |
Definition at line 135 of file cdp_load.h.
| typedef int(*) AAAAddRequestHandler_f(AAARequestHandler_f *f, void *param) |
Definition at line 139 of file cdp_load.h.
| typedef int(*) AAAAddResponseHandler_f(AAAResponseHandler_f *f, void *param) |
Definition at line 140 of file cdp_load.h.
| typedef int(*) load_cdp_f(struct cdp_binds *cdpb) |
Definition at line 174 of file cdp_load.h.
| int load_cdp | ( | struct cdp_binds * | cdpb | ) |
Load the CDiameterPeer bindings.
| *cdpb | - target structure to load the bindings into |
Definition at line 74 of file cdp_load.c.
References AAAAddAVPToMessage(), AAAAddRequestHandler(), AAAAddResponseHandler(), AAACreateAVP(), AAACreateRequest(), AAACreateResponse(), AAACreateSession(), AAACreateTransaction(), AAADropSession(), AAADropTransaction(), AAAFindMatchingAVP(), AAAFindMatchingAVPList(), AAAFreeAVP(), AAAFreeAVPList(), AAAFreeMessage(), AAAGetNextAVP(), AAAGroupAVPS(), AAASendMessage(), AAASendMessageToPeer(), AAASendRecvMessage(), AAASendRecvMessageToPeer(), AAAUngroupAVPS(), and FIND_EXP.
Referenced by icscf_mod_init(), and mod_init().
00075 { 00076 FIND_EXP(AAASendMessage,"AAASendMessage",AAASendMessage_f); 00077 FIND_EXP(AAASendMessageToPeer,"AAASendMessageToPeer",AAASendMessageToPeer_f); 00078 FIND_EXP(AAASendRecvMessage,"AAASendRecvMessage",AAASendRecvMessage_f); 00079 FIND_EXP(AAASendRecvMessageToPeer,"AAASendRecvMessageToPeer",AAASendRecvMessageToPeer_f); 00080 FIND_EXP(AAAFreeMessage,"AAAFreeMessage",AAAFreeMessage_f); 00081 00082 FIND_EXP(AAACreateRequest,"AAACreateRequest",AAACreateRequest_f); 00083 FIND_EXP(AAACreateResponse,"AAACreateResponse",AAACreateResponse_f); 00084 00085 FIND_EXP(AAACreateSession,"AAACreateSession",AAACreateSession_f); 00086 FIND_EXP(AAADropSession,"AAADropSession",AAADropSession_f); 00087 00088 FIND_EXP(AAACreateTransaction,"AAACreateTransaction",AAACreateTransaction_f); 00089 FIND_EXP(AAADropTransaction,"AAADropTransaction",AAADropTransaction_f); 00090 00091 FIND_EXP(AAACreateAVP,"AAACreateAVP",AAACreateAVP_f); 00092 FIND_EXP(AAAAddAVPToMessage,"AAAAddAVPToMessage",AAAAddAVPToMessage_f); 00093 FIND_EXP(AAAFindMatchingAVP,"AAAFindMatchingAVP",AAAFindMatchingAVP_f); 00094 FIND_EXP(AAAFindMatchingAVPList,"AAAFindMatchingAVPList",AAAFindMatchingAVPList_f); 00095 FIND_EXP(AAAGetNextAVP,"AAAGetNextAVP",AAAGetNextAVP_f); 00096 FIND_EXP(AAAFreeAVP,"AAAFreeAVP",AAAFreeAVP_f); 00097 FIND_EXP(AAAFreeAVPList,"AAAFreeAVPList",AAAFreeAVPList_f); 00098 FIND_EXP(AAAGroupAVPS,"AAAGroupAVPS",AAAGroupAVPS_f); 00099 FIND_EXP(AAAUngroupAVPS,"AAAUngroupAVPS",AAAUngroupAVPS_f); 00100 00101 FIND_EXP(AAAAddRequestHandler,"AAAAddRequestHandler",AAAAddRequestHandler_f); 00102 FIND_EXP(AAAAddResponseHandler,"AAAAddResponseHandler",AAAAddResponseHandler_f); 00103 00104 return 1; 00105 }
1.5.2