Procházet zdrojové kódy

Document memory ownership.

tags/v0.9.3
Michael Brown před 18 roky
rodič
revize
764cb41456
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5
    0
      src/net/udp/dhcp.c

+ 5
- 0
src/net/udp/dhcp.c Zobrazit soubor

@@ -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;

Načítá se…
Zrušit
Uložit