serviceentry.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SERVICEENTRY_H
#define RUDIMENTS_SERVICEENTRY_H
#include <rudiments/private/serviceentryincludes.h>
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
serviceentry
Definition: serviceentry.h:11
serviceentry::getAliasList
const char *const * getAliasList() const
serviceentry::setMutex
static void setMutex(threadmutex *mtx)
serviceentry::getPort
int32_t getPort() const
serviceentry::getPort
static int32_t getPort(const char *servicename, const char *protocol)
serviceentry::operator=
serviceentry & operator=(const serviceentry &s)
serviceentry::initialize
bool initialize(int32_t port, const char *protocol)
serviceentry::needsMutex
static bool needsMutex()
serviceentry::serviceentry
serviceentry()
serviceentry::initialize
bool initialize(const char *servicename, const char *protocol)
serviceentry::~serviceentry
~serviceentry()
serviceentry::getName
static char * getName(int32_t port, const char *protocol)
serviceentry::serviceentry
serviceentry(const serviceentry &s)
serviceentry::getProtocol
const char * getProtocol() const
serviceentry::getName
const char * getName() const
threadmutex
Definition: threadmutex.h:11