aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/dhcp/dhcp_transaction.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-03-24 11:08:59 +0100
committerMartin Willi <martin@revosec.ch>2010-03-25 14:28:29 +0100
commit4f0932ecfeb7400e39b990ac2a7716657d4bbe09 (patch)
treeaa8827b2cbf06eede7a665ba6cf9e43a7d8077f5 /src/libcharon/plugins/dhcp/dhcp_transaction.h
parent20ee54d06f27884dd959e5004be61f9014e5ed39 (diff)
downloadstrongswan-4f0932ecfeb7400e39b990ac2a7716657d4bbe09.tar.bz2
strongswan-4f0932ecfeb7400e39b990ac2a7716657d4bbe09.tar.xz
Added DHCP request construction, ACK processing
Diffstat (limited to 'src/libcharon/plugins/dhcp/dhcp_transaction.h')
-rw-r--r--src/libcharon/plugins/dhcp/dhcp_transaction.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcharon/plugins/dhcp/dhcp_transaction.h b/src/libcharon/plugins/dhcp/dhcp_transaction.h
index e8215e93b..e20572064 100644
--- a/src/libcharon/plugins/dhcp/dhcp_transaction.h
+++ b/src/libcharon/plugins/dhcp/dhcp_transaction.h
@@ -60,6 +60,20 @@ struct dhcp_transaction_t {
host_t* (*get_address)(dhcp_transaction_t *this);
/**
+ * Set the DCHP server address discovered.
+ *
+ * @param server DHCP server address
+ */
+ void (*set_server)(dhcp_transaction_t *this, host_t *server);
+
+ /**
+ * Get the DHCP server address.
+ *
+ * @return DHCP server address
+ */
+ host_t* (*get_server)(dhcp_transaction_t *this);
+
+ /**
* Destroy a dhcp_transaction_t.
*/
void (*destroy)(dhcp_transaction_t *this);