net_server: cleaned up Services.h, no functional change.

This commit is contained in:
Axel Dörfler
2015-03-27 13:23:00 +01:00
parent bafce3df67
commit 83941255ad
+7 -3
View File
@@ -37,13 +37,15 @@ class Services : public BHandler {
void _UpdateMinMaxSocket(int socket); void _UpdateMinMaxSocket(int socket);
status_t _StartService(struct service& service); status_t _StartService(struct service& service);
status_t _StopService(struct service& service); status_t _StopService(struct service& service);
status_t _ToService(const BMessage& message, struct service*& service); status_t _ToService(const BMessage& message,
struct service*& service);
void _Update(const BMessage& services); void _Update(const BMessage& services);
int32 _CompareServices(struct service& a, struct service& b); status_t _LaunchService(struct service& service,
status_t _LaunchService(struct service& service, int socket); int socket);
status_t _Listener(); status_t _Listener();
static status_t _Listener(void* self); static status_t _Listener(void* self);
private:
thread_id fListener; thread_id fListener;
BLocker fLock; BLocker fLock;
ServiceNameMap fNameMap; ServiceNameMap fNameMap;
@@ -56,6 +58,8 @@ class Services : public BHandler {
fd_set fSet; fd_set fSet;
}; };
const static uint32 kMsgUpdateServices = 'srvU'; const static uint32 kMsgUpdateServices = 'srvU';
#endif // SERVICES_H #endif // SERVICES_H