diff options
Diffstat (limited to 'src/libcharon/plugins/dhcp/dhcp_transaction.h')
-rw-r--r-- | src/libcharon/plugins/dhcp/dhcp_transaction.h | 14 |
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); |