4 #ifndef RUDIMENTS_SERVICEENTRY_H
5 #define RUDIMENTS_SERVICEENTRY_H
7 #include <rudiments/private/serviceentryincludes.h>
9 class serviceentryprivate;
33 bool initialize(
const char *servicename,
34 const char *protocol);
40 bool initialize(int32_t port,
const char *protocol);
43 const char *getName()
const;
47 int32_t getPort()
const;
51 const char *getProtocol()
const;
55 const char *
const * getAliasList()
const;
63 static int32_t getPort(
const char *servicename,
64 const char *protocol);
77 static char *getName(int32_t port,
78 const char *protocol);
82 static bool needsMutex();
89 #include <rudiments/private/serviceentry.h>