proposal: Move proposal_t from libcharon to libstrongswan
This allows us to use it without having to initialize libcharon, which was required for the logging (we probably could have included debug.h instead of daemon.h to workaround that but this seems more correct).
This commit is contained in:
@@ -27,7 +27,7 @@ typedef struct delete_child_sa_job_t delete_child_sa_job_t;
|
||||
#include <library.h>
|
||||
#include <sa/ike_sa_id.h>
|
||||
#include <processing/jobs/job.h>
|
||||
#include <config/proposal.h>
|
||||
#include <crypto/proposal/proposal.h>
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@ typedef struct rekey_child_sa_job_t rekey_child_sa_job_t;
|
||||
#include <library.h>
|
||||
#include <sa/ike_sa_id.h>
|
||||
#include <processing/jobs/job.h>
|
||||
#include <config/proposal.h>
|
||||
#include <crypto/proposal/proposal.h>
|
||||
|
||||
/**
|
||||
* Class representing an REKEY_CHILD_SA Job.
|
||||
@@ -50,4 +50,5 @@ struct rekey_child_sa_job_t {
|
||||
*/
|
||||
rekey_child_sa_job_t *rekey_child_sa_job_create(protocol_id_t protocol,
|
||||
uint32_t spi, host_t *dst);
|
||||
|
||||
#endif /** REKEY_CHILD_SA_JOB_H_ @}*/
|
||||
|
||||
@@ -26,7 +26,7 @@ typedef struct update_sa_job_t update_sa_job_t;
|
||||
#include <library.h>
|
||||
#include <networking/host.h>
|
||||
#include <processing/jobs/job.h>
|
||||
#include <config/proposal.h>
|
||||
#include <crypto/proposal/proposal.h>
|
||||
|
||||
/**
|
||||
* Update the addresses of an IKE and its CHILD_SAs.
|
||||
|
||||
Reference in New Issue
Block a user