summaryrefslogtreecommitdiff
path: root/src/libimcv/seg/seg_contract.h
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2015-10-22 11:43:58 +0200
committerYves-Alexis Perez <corsac@debian.org>2015-11-03 17:16:28 +0100
commit27902f634ea544c1f077b19a26ca8c81b67059f3 (patch)
tree2f0977205608987a9239d39111f02ea1c086c1af /src/libimcv/seg/seg_contract.h
parent3b7ae6673ae7bc330d0305098cd9818a4f6a7856 (diff)
downloadvyos-strongswan-27902f634ea544c1f077b19a26ca8c81b67059f3.tar.gz
vyos-strongswan-27902f634ea544c1f077b19a26ca8c81b67059f3.zip
Imported Upstream version 5.3.3
Diffstat (limited to 'src/libimcv/seg/seg_contract.h')
-rw-r--r--src/libimcv/seg/seg_contract.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libimcv/seg/seg_contract.h b/src/libimcv/seg/seg_contract.h
index 23676a9f4..afbf30934 100644
--- a/src/libimcv/seg/seg_contract.h
+++ b/src/libimcv/seg/seg_contract.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014 Andreas Steffen
+ * Copyright (C) 2014-2015 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -78,9 +78,11 @@ struct seg_contract_t {
* Generate first segment of a PA-TNC attribute according to the contract
*
* @param attr PA-TNC attribute to be segmented
+ * @param max_attr_len Maximum size of first segment envelope attribute
* @return First segment envelope attribute
*/
- pa_tnc_attr_t* (*first_segment)(seg_contract_t *this, pa_tnc_attr_t *attr);
+ pa_tnc_attr_t* (*first_segment)(seg_contract_t *this, pa_tnc_attr_t *attr,
+ size_t max_attr_len);
/**
* Generate next segment of a PA-TNC attribute according to the contract