VirtualBox

Changeset 18023 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 17, 2009 1:48:59 PM (16 years ago)
Author:
vboxsync
Message:

Dhcp->DHCP

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk

    r17939 r18023  
    6060        VBoxInternalManage.cpp \
    6161        VBoxManageHostonly.cpp \
    62         VBoxManageDhcpServer.cpp \
     62        VBoxManageDHCPServer.cpp \
    6363        $(if $(VBOX_WITH_GUEST_PROPS),VBoxManageGuestProp.cpp) \
    6464        VBoxManageSVN.cpp
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r17882 r18023  
    17261726        { "export",           handleExportAppliance },
    17271727        { "hostonlyif",       handleHostonlyIf },
    1728         { "dhcpserver",       handleDhcpServer},
     1728        { "dhcpserver",       handleDHCPServer},
    17291729        { NULL,               NULL }
    17301730    };
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r17882 r18023  
    194194
    195195/* VBoxManageHostonly.cpp */
    196 int handleDhcpServer(HandlerArg *a);
     196int handleDHCPServer(HandlerArg *a);
    197197
    198198#endif /* !VBOX_ONLY_DOCS */
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDHCPServer.cpp

    r18012 r18023  
    235235    }
    236236
    237     ComPtr<IDhcpServer> svr;
    238     rc = a->virtualBox->FindDhcpServerByName(NetName.mutableRaw(), svr.asOutParam());
     237    ComPtr<IDHCPServer> svr;
     238    rc = a->virtualBox->FindDHCPServerByNetworkName(NetName.mutableRaw(), svr.asOutParam());
    239239    if(enmCode == OP_ADD)
    240240    {
     
    242242            return errorArgument("dhcp server already exists");
    243243
    244         CHECK_ERROR(a->virtualBox, CreateDhcpServer(NetName.mutableRaw(), svr.asOutParam()));
     244        CHECK_ERROR(a->virtualBox, CreateDHCPServer(NetName.mutableRaw(), svr.asOutParam()));
    245245        if(FAILED(rc))
    246246            return errorArgument("failed to create server");
     
    267267    else
    268268    {
    269         CHECK_ERROR(a->virtualBox, RemoveDhcpServer(svr));
     269        CHECK_ERROR(a->virtualBox, RemoveDHCPServer(svr));
    270270        if(FAILED(rc))
    271271            return errorArgument("failed to remove server");
     
    276276
    277277
    278 int handleDhcpServer(HandlerArg *a)
     278int handleDHCPServer(HandlerArg *a)
    279279{
    280280    int result = 0;
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r17945 r18023  
    765765        case LISTDHCPSERVERS:
    766766        {
    767             com::SafeIfaceArray<IDhcpServer> svrs;
    768             CHECK_ERROR(a->virtualBox, COMGETTER(DhcpServers)(ComSafeArrayAsOutParam (svrs)));
     767            com::SafeIfaceArray<IDHCPServer> svrs;
     768            CHECK_ERROR(a->virtualBox, COMGETTER(DHCPServers)(ComSafeArrayAsOutParam (svrs)));
    769769            for (size_t i = 0; i < svrs.size(); ++ i)
    770770            {
    771                 ComPtr<IDhcpServer> svr = svrs[i];
     771                ComPtr<IDHCPServer> svr = svrs[i];
    772772                Bstr netName;
    773773                svr->COMGETTER(NetworkName)(netName.asOutParam());
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette