Changeset 79747 in vbox for trunk/include
- Timestamp:
- Jul 12, 2019 11:00:54 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r79732 r79747 349 349 typedef DhcpOptionMap::const_iterator DhcpOptConstIterator; 350 350 351 struct DHCPGroupCondition 352 { 353 DHCPGroupCondition(); 354 355 bool fInclusive; 356 DHCPGroupConditionType_T enmType; 357 com::Utf8Str strValue; 358 }; 359 typedef std::vector<DHCPGroupCondition> DHCPGroupConditionVec; 360 361 351 362 struct DHCPConfig 352 363 { 353 364 DHCPConfig(); 354 365 355 DhcpOptionMap OptionMap;366 DhcpOptionMap mapOptions; 356 367 uint32_t secMinLeaseTime; 357 368 uint32_t secDefaultLeaseTime; … … 359 370 }; 360 371 372 struct DHCPGroupConfig : DHCPConfig 373 { 374 DHCPGroupConfig(); 375 376 com::Utf8Str strName; 377 DHCPGroupConditionVec vecConditions; 378 }; 379 typedef std::vector<DHCPGroupConfig> DHCPGroupConfigVec; 380 361 381 struct DHCPIndividualConfig : DHCPConfig 362 382 { … … 365 385 com::Utf8Str strMACAddress; 366 386 com::Utf8Str strVMName; 367 ULONGuSlot;387 uint32_t uSlot; 368 388 com::Utf8Str strFixedAddress; 369 389 }; 370 371 390 typedef std::map<com::Utf8Str, DHCPIndividualConfig> DHCPIndividualConfigMap; 372 391 … … 380 399 com::Utf8Str strIPUpper; 381 400 bool fEnabled; 382 DHCPConfig GlobalConfig;383 DHCP IndividualConfigMap IndividualConfigs;384 };385 401 DHCPConfig globalConfig; 402 DHCPGroupConfigVec vecGroupConfigs; 403 DHCPIndividualConfigMap mapIndividualConfigs; 404 }; 386 405 typedef std::list<DHCPServer> DHCPServersList; 387 406
Note:
See TracChangeset
for help on using the changeset viewer.