serviceentry.h
// Copyright (c) 2003 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SERVICEENTRY_H
#define RUDIMENTS_SERVICEENTRY_H
#include <rudiments/private/serviceentryincludes.h>
class serviceentryprivate;
class RUDIMENTS_DLLSPEC serviceentry {
public:
serviceentry();
serviceentry(const serviceentry &s);
serviceentry &operator=(const serviceentry &s);
~serviceentry();
bool initialize(const char *servicename,
const char *protocol);
bool initialize(int32_t port, const char *protocol);
const char *getName() const;
int32_t getPort() const;
const char *getProtocol() const;
const char * const * getAliasList() const;
static int32_t getPort(const char *servicename,
const char *protocol);
static char *getName(int32_t port,
const char *protocol);
static bool needsMutex();
static void setMutex(threadmutex *mtx);
#include <rudiments/private/serviceentry.h>
};
#endif
threadmutex
Definition: threadmutex.h:13
serviceentry
Definition: serviceentry.h:13