Revision f8615d6e include/AddressRangePool.h

View differences:

include/AddressRangePool.h
82 82
     *    the reason.
83 83
     *    @return 0 on success
84 84
     */
85
    int update_ar(vector<VectorAttribute *> ars, bool keep_restricted, string& error_msg);
86

  
85
    int update_ar(vector<VectorAttribute *> ars, bool keep_restricted,
86
            string& error_msg);
87 87
    /**
88 88
     *  Allocates a new *empty* address range. It is not added to the pool as it
89 89
     *  needs to be initialized. Only the AR_ID is set.
90
     *    @param ipam_mad sets the type of AddressRange to be created: internal,
91
     *    IPAM...
90 92
     *    @return the new address range.
91 93
     */
92
    AddressRange * allocate_ar();
94
    AddressRange * allocate_ar(const string& ipam_mad);
93 95

  
94 96
    /**
95 97
     *  Adds a new address range to the pool. It should be allocated by the
......
369 371
     *  Used addresses
370 372
     */
371 373
    unsigned int used_addr;
374

  
375
    /**
376
     *  Allocates a new *empty* address range. It is not added to the pool as it
377
     *  needs to be initialized.
378
     *    @param ipam_mad sets the type of AddressRange to be created: internal,
379
     *    IPAM...
380
     *    @param ar_id for the AddressRange
381
     *    @return the new address range.
382
     */
383
    AddressRange * allocate_ar(const string& ipam_mad, unsigned int ar_id);
372 384
};
373 385

  
374 386
#endif

Also available in: Unified diff