Explorar el Código

Document memory ownership.

tags/v0.9.3
Michael Brown hace 18 años
padre
commit
764cb41456
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      src/net/udp/dhcp.c

+ 5
- 0
src/net/udp/dhcp.c Ver fichero

@@ -650,6 +650,11 @@ static struct udp_operations dhcp_udp_operations = {
650 650
  *
651 651
  * @v dhcp		DHCP session
652 652
  * @ret aop		Asynchronous operation
653
+ *
654
+ * If the DHCP operation completes successfully, the
655
+ * dhcp_session::options field will be filled in with the resulting
656
+ * options block.  The caller takes responsibility for eventually
657
+ * calling free_dhcp_options().
653 658
  */
654 659
 struct async_operation * start_dhcp ( struct dhcp_session *dhcp ) {
655 660
 	int rc;

Loading…
Cancelar
Guardar