Mercurial > hg > freeDiameter
comparison include/freeDiameter/freeDiameter.h @ 93:3910804c84db
Ported the app_test application
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 07 Dec 2009 20:06:29 +0900 |
parents | 3f8b437bcb66 |
children | 0d9c9e004be0 |
comparison
equal
deleted
inserted
replaced
92:892219aef3bc | 93:3910804c84db |
---|---|
364 * For answers, the message must be created with function fd_msg_new_answ. | 364 * For answers, the message must be created with function fd_msg_new_answ. |
365 * | 365 * |
366 * The routing module will handle sending to the correct peer, usually based on the Destination-Realm / Destination-Host AVP. | 366 * The routing module will handle sending to the correct peer, usually based on the Destination-Realm / Destination-Host AVP. |
367 * | 367 * |
368 * If the msg is a request, there are two ways of receiving the answer: | 368 * If the msg is a request, there are two ways of receiving the answer: |
369 * - either having registered a callback in the dispatch module (see disp_register) | 369 * - either having registered a callback in the dispatch module (see fd_disp_register) |
370 * - or provide a callback as parameter here. If such callback is provided, it is called before the dispatch callbacks. | 370 * - or provide a callback as parameter here. If such callback is provided, it is called before the dispatch callbacks. |
371 * The prototype for this callback function is: | 371 * The prototype for this callback function is: |
372 * void anscb(void * data, struct msg ** answer) | 372 * void anscb(void * data, struct msg ** answer) |
373 * where: | 373 * where: |
374 * data : opaque data that was registered along with the callback. | 374 * data : opaque data that was registered along with the callback. |