/*
- * Copyright (C) 2007-2015 Tobias Brunner
+ * Copyright (C) 2007-2018 Tobias Brunner
* Copyright (C) 2006 Martin Willi
* HSR Hochschule fuer Technik Rapperswil
*
*/
status_t (*build) (task_t *this, message_t *message);
+ /**
+ * Called after a message has been built (optional to implement by tasks).
+ *
+ * @param message generated message, can't be modified anymore
+ * @return
+ * - SUCCESS if task completed
+ * - NEED_MORE if another call to build/process needed
+ * - Anything else will result in the destruction of
+ * the IKE_SA
+ */
+ status_t (*post_build) (task_t *this, message_t *message);
+
/**
* Process a request or response message for this task.
*