Changeset 48107 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Aug 27, 2013 10:15:13 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88483
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/NATNetworkImpl.h
r48098 r48107 1 1 /* $Id$ */ 2 3 2 /** @file 4 * 5 * VirtualBox COM class implementation 3 * INATNetwork implementation header, lives in VBoxSVC. 6 4 */ 7 5 … … 129 127 130 128 private: 131 int RecalculateIpv4AddressAssignments();129 int recalculateIpv4AddressAssignments(); 132 130 int findFirstAvailableOffset(uint32_t *); 133 131 … … 145 143 }; 146 144 147 #endif // ____H_H_NATNETWORKIMPL145 #endif // !____H_H_NATNETWORKIMPL -
trunk/src/VBox/Main/include/NetworkServiceRunner.h
r47018 r48107 1 1 /* $Id$ */ 2 2 /** @file 3 * VirtualBox Main - interface for VBox DHCP server 3 * VirtualBox Main - interface for VBox DHCP server. 4 4 */ 5 5 … … 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 18 #include <iprt/err.h> 18 19 #include <iprt/types.h> … … 32 33 NETCFG_VERBOSE, 33 34 NETCFG_NOTOPT_MAXVAL 34 } NETCFG;35 } NETCFG; 35 36 36 37 #define TRUNKTYPE_WHATEVER "whatever" … … 42 43 { 43 44 public: 44 NetworkServiceRunner(const char *aProcName) :45 mProcName(aProcName),46 mProcess(NIL_RTPROCESS)45 NetworkServiceRunner(const char *aProcName) 46 : mProcName(aProcName) 47 , mProcess(NIL_RTPROCESS) 47 48 { 48 memset(mOptionEnabled, 0, sizeof(mOptionEnabled));49 RT_ZERO(mOptionEnabled); 49 50 }; 50 ~NetworkServiceRunner() { stop(); /* don't leave abandoned servers */} 51 ~NetworkServiceRunner() 52 { 53 stop(); /* don't leave abandoned servers */ 54 } 51 55 52 56 int setOption(NETCFG opt, const char *val, bool enabled) … … 78 82 RTPROCESS mProcess; 79 83 }; 84
Note:
See TracChangeset
for help on using the changeset viewer.