* Style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36137 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-04-11 09:18:09 +00:00
parent a5b39147b3
commit 022760a24a
+11 -6
View File
@@ -45,7 +45,7 @@ typedef std::map<std::string, AutoconfigLooper*> LooperMap;
class NetServer : public BServer { class NetServer : public BServer {
public: public:
NetServer(status_t& status); NetServer(status_t& status);
virtual ~NetServer(); virtual ~NetServer();
@@ -53,23 +53,28 @@ class NetServer : public BServer {
virtual void ReadyToRun(); virtual void ReadyToRun();
virtual void MessageReceived(BMessage* message); virtual void MessageReceived(BMessage* message);
private: private:
bool _IsValidInterface(int socket, const char* name); bool _IsValidInterface(int socket, const char* name);
void _RemoveInvalidInterfaces(int socket); void _RemoveInvalidInterfaces(int socket);
bool _TestForInterface(int socket, const char* name); bool _TestForInterface(int socket, const char* name);
status_t _ConfigureInterface(int socket, BMessage& interface, status_t _ConfigureInterface(int socket,
BMessage& interface,
bool fromMessage = false); bool fromMessage = false);
status_t _ConfigureResolver(BMessage& resolverConfiguration); status_t _ConfigureResolver(
BMessage& resolverConfiguration);
bool _QuitLooperForDevice(const char* device); bool _QuitLooperForDevice(const char* device);
AutoconfigLooper* _LooperForDevice(const char* device); AutoconfigLooper* _LooperForDevice(const char* device);
status_t _ConfigureDevice(int socket, const char* path); status_t _ConfigureDevice(int socket, const char* path);
void _ConfigureDevices(int socket, const char* path, void _ConfigureDevices(int socket, const char* path,
BMessage* suggestedInterface = NULL); BMessage* suggestedInterface = NULL);
void _ConfigureInterfaces(int socket, BMessage* _missingDevice = NULL); void _ConfigureInterfaces(int socket,
BMessage* _missingDevice = NULL);
void _BringUpInterfaces(); void _BringUpInterfaces();
void _StartServices(); void _StartServices();
void _HandleDeviceMonitor(int socket, BMessage* message); void _HandleDeviceMonitor(int socket,
BMessage* message);
private:
Settings fSettings; Settings fSettings;
LooperMap fDeviceMap; LooperMap fDeviceMap;
BMessenger fServices; BMessenger fServices;