aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/alg_info.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-05-19 07:51:48 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-05-19 10:02:24 +0200
commitb0471fb2720054f6560dc9df23ab64a63f7b14f5 (patch)
treeb36dc7e8cc3c508792bce5dddfdef11f455f2616 /src/pluto/alg_info.h
parent59084785278f94354683801488b55a376fe82558 (diff)
downloadstrongswan-b0471fb2720054f6560dc9df23ab64a63f7b14f5.tar.bz2
strongswan-b0471fb2720054f6560dc9df23ab64a63f7b14f5.tar.xz
puto uses proposal_get_token() from libstrongswan
Diffstat (limited to 'src/pluto/alg_info.h')
-rw-r--r--src/pluto/alg_info.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pluto/alg_info.h b/src/pluto/alg_info.h
index 894445e1c..fcf7efca0 100644
--- a/src/pluto/alg_info.h
+++ b/src/pluto/alg_info.h
@@ -65,13 +65,10 @@ extern int alg_info_esp_sadb2aa(int sadb_aalg);
extern void alg_info_free(struct alg_info *alg_info);
extern void alg_info_addref(struct alg_info *alg_info);
extern void alg_info_delref(struct alg_info **alg_info);
-extern struct alg_info_esp* alg_info_esp_create_from_str(const char *alg_str
- , const char **err_p);
-extern struct alg_info_ike* alg_info_ike_create_from_str(const char *alg_str
- , const char **err_p);
+extern struct alg_info_esp* alg_info_esp_create_from_str(char *alg_str);
+extern struct alg_info_ike* alg_info_ike_create_from_str(char *alg_str);
extern int alg_info_parse(const char *str);
-extern int alg_info_snprint(char *buf, int buflen
- , struct alg_info *alg_info);
+extern int alg_info_snprint(char *buf, int buflen, struct alg_info *alg_info);
extern int alg_info_snprint_esp(char *buf, int buflen
, struct alg_info_esp *alg_info);
extern int alg_info_snprint_ike(char *buf, int buflen