-/**
- * Creates an IKEv1 proposal_substructure_t from a proposal_t.
- *
- * @param proposal proposal to build a substruct out of it
- * @param lifetime lifetime in seconds
- * @param lifebytes lifebytes, in bytes
- * @param auth authentication method to use, or AUTH_NONE
- * @param mode IPsec encapsulation mode, TRANSPORT or TUNNEL
- * @param udp ENCAP_UDP to use UDP encapsulation
- * @return proposal_substructure_t object PLV1_PROPOSAL_SUBSTRUCTURE
- */
-proposal_substructure_t *proposal_substructure_create_from_proposal_v1(
- proposal_t *proposal, uint32_t lifetime, uint64_t lifebytes,
- auth_method_t auth, ipsec_mode_t mode, encap_t udp);