Mercurial > hg > freeDiameter
diff include/freeDiameter/libfdcore.h @ 1099:6ce5c99a40af
Fix some typos.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Wed, 08 May 2013 14:40:20 +0200 |
parents | 1d1a20a0779d |
children | 40b48a3997a2 |
line wrap: on
line diff
--- a/include/freeDiameter/libfdcore.h Mon May 06 18:49:59 2013 +0800 +++ b/include/freeDiameter/libfdcore.h Wed May 08 14:40:20 2013 +0200 @@ -952,7 +952,7 @@ */ HOOK_MESSAGE_FAILOVER, - /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was teared down. + /* Hook called when a message that was sent to a peer is being requeued, because e.g. the connection was torn down. In that case the message will go again through the routing process. - {msg} points to the corresponding request message (the answer is discarded). Again, the objects may not have been dictionary resolved. If you try to call fd_msg_parse_dict, it might slow down the operation of a relay agent, although this hook is not on the normal execution path. @@ -1021,7 +1021,7 @@ }; -/* Type if the {permsgdata} ointer. It is up to each extension to define its own structure. This is opaque for the framework. */ +/* Type of the {permsgdata} pointer. It is up to each extension to define its own structure. This is opaque for the framework. */ struct fd_hook_permsgdata; /* A handle that will be associated with the extension, and with the permsgdata structures. */ @@ -1034,7 +1034,7 @@ * FUNCTION: fd_hook_data_register * * PARAMETERS: - * permsgdata_new_cb : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with not structure yet. If the function returns NULL, it will be called again for the next hook. + * permsgdata_new_cb : function called to initialize a new empty fd_hook_permsgdata structure, when a hook will be called for a message with no structure yet. If the function returns NULL, it will be called again for the next hook. * permsgdata_destroy_cb : function called when a message is being disposed. It should free the resources associated with the fd_hook_permsgdata. * new_handle : On success, a handler to the registered callback is stored here. * This handler will be used to unregister the cb.