Changeset 27871 in vbox
- Timestamp:
- Mar 31, 2010 9:49:40 AM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/NATEngineImpl.cpp
r27868 r27871 255 255 256 256 STDMETHODIMP 257 NATEngine::AddRedirect(IN_BSTR aName, uint32_t aProto, IN_BSTR aBindIp, uint16_t aHostPort, IN_BSTR aGuestIP, uint16_taGuestPort)257 NATEngine::AddRedirect(IN_BSTR aName, ULONG aProto, IN_BSTR aBindIp, USHORT aHostPort, IN_BSTR aGuestIP, USHORT aGuestPort) 258 258 { 259 259 … … 407 407 408 408 STDMETHODIMP 409 NATEngine::COMSETTER(HostIP) ( CBSTR aBindIP)409 NATEngine::COMSETTER(HostIP) (IN_BSTR aBindIP) 410 410 { 411 411 AutoCaller autoCaller(this); -
trunk/src/VBox/Main/include/NATEngineImpl.h
r27868 r27871 97 97 HRESULT saveSettings(settings::NAT &data); 98 98 99 STDMETHOD(COMSETTER(Network)) ( CBSTR aNetwork);99 STDMETHOD(COMSETTER(Network)) (IN_BSTR aNetwork); 100 100 STDMETHOD(COMGETTER(Network)) (BSTR *aNetwork); 101 STDMETHOD(COMSETTER(HostIP)) ( CBSTR aBindIP);101 STDMETHOD(COMSETTER(HostIP)) (IN_BSTR aBindIP); 102 102 STDMETHOD(COMGETTER(HostIP)) (BSTR *aBindIP); 103 103 /* TFTP attributes */ 104 STDMETHOD(COMSETTER(TftpPrefix)) ( CBSTR aTftpPrefix);104 STDMETHOD(COMSETTER(TftpPrefix)) (IN_BSTR aTftpPrefix); 105 105 STDMETHOD(COMGETTER(TftpPrefix)) (BSTR *aTftpPrefix); 106 STDMETHOD(COMSETTER(TftpBootFile)) ( CBSTR aTftpBootFile);106 STDMETHOD(COMSETTER(TftpBootFile)) (IN_BSTR aTftpBootFile); 107 107 STDMETHOD(COMGETTER(TftpBootFile)) (BSTR *aTftpBootFile); 108 STDMETHOD(COMSETTER(TftpNextServer)) ( CBSTR aTftpNextServer);108 STDMETHOD(COMSETTER(TftpNextServer)) (IN_BSTR aTftpNextServer); 109 109 STDMETHOD(COMGETTER(TftpNextServer)) (BSTR *aTftpNextServer); 110 110 /* DNS attributes */ … … 120 120 121 121 STDMETHOD(COMGETTER(Redirects)) (ComSafeArrayOut (BSTR, aNatRules)); 122 STDMETHOD(AddRedirect)(IN_BSTR aName, uint32_t aProto, IN_BSTR aBindIp, uint16_t aHostPort, IN_BSTR aGuestIP, uint16_taGuestPort);122 STDMETHOD(AddRedirect)(IN_BSTR aName, ULONG aProto, IN_BSTR aBindIp, USHORT aHostPort, IN_BSTR aGuestIP, USHORT aGuestPort); 123 123 STDMETHOD(RemoveRedirect)(IN_BSTR aName); 124 124
Note:
See TracChangeset
for help on using the changeset viewer.