- added clone functionality

This commit is contained in:
Jan Hutter
2005-11-21 13:44:16 +00:00
parent 75ab06685f
commit b945904088
6 changed files with 260 additions and 66 deletions
@@ -150,6 +150,17 @@ struct proposal_substructure_s {
*/
status_t (*set_spi) (proposal_substructure_t *this, chunk_t spi);
/**
* @brief Clones an proposal_substructure_t object.
*
* @param this proposal_substructure_t object to clone
* @param clone cloned object will be written there
* @return
* - SUCCESS
* - OUT_OF_RES
*/
status_t (*clone) (proposal_substructure_t *this,proposal_substructure_t **clone);
/**
* @brief Destroys an proposal_substructure_t object.
*