added %P printf handler for poposal_t

added some proposal selection debugging code
This commit is contained in:
Martin Willi
2008-06-12 11:42:19 +00:00
parent 9529fb6836
commit 035930fc4a
5 changed files with 174 additions and 65 deletions
+10
View File
@@ -232,4 +232,14 @@ proposal_t *proposal_create_default(protocol_id_t protocol);
*/
proposal_t *proposal_create_from_string(protocol_id_t protocol, const char *algs);
/**
* Get printf hooks for a proposal.
*
* Arguments are:
* proposal_t *proposal
* With the #-specifier, arguments are:
* linked_list_t *list containing proposal_t*
*/
printf_hook_functions_t proposal_get_printf_hooks();
#endif /* PROPOSAL_H_ @} */