#include "fwp_mngt.h"
#include <stdlib.h>
+
+static int fwp_contract_is_reserved(fwp_contract_d_t contract)
+{
+ return (contract->status == FWP_CONT_RESERVED);
+}
+
+static int fwp_contract_is_negotiated(fwp_contract_d_t contract)
+{
+ return (contract->status == FWP_CONT_NEGOTIATED);
+}
+
/**
* Negotiates contract for application. Negotiation request is sent to
* fwp agent and then waits for response.