protocolentry.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_PROTOCOLENTRY_H
#define RUDIMENTS_PROTOCOLENTRY_H
#include <rudiments/private/protocolentryincludes.h>
class protocolentryprivate;
class RUDIMENTS_DLLSPEC protocolentry {
public:
protocolentry();
protocolentry(const protocolentry &p);
protocolentry &operator=(const protocolentry &p);
~protocolentry();
bool initialize(const char *protocolname);
bool initialize(int32_t number);
const char *getName() const;
const char * const *getAliasList() const;
int32_t getNumber() const;
static int32_t getNumber(const char *protocolname);
static char *getName(int32_t number);
static bool needsMutex();
static void setMutex(threadmutex *mtx);
#include <rudiments/private/protocolentry.h>
};
#endif