Rudiments
rpcentry.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_RPCENTRY_H
5 #define RUDIMENTS_RPCENTRY_H
6 
7 #include <rudiments/private/rpcentryincludes.h>
8 
9 class rpcentryprivate;
10 
13 class RUDIMENTS_DLLSPEC rpcentry {
14  public:
15 
17  rpcentry();
18 
21  rpcentry(const rpcentry &r);
22 
25  rpcentry &operator=(const rpcentry &r);
26 
28  ~rpcentry();
29 
32  bool initialize(const char *name);
33 
36  bool initialize(int32_t number);
37 
39  const char *getName() const;
40 
42  int32_t getNumber() const;
43 
46  const char * const *getAliasList() const;
47 
53  static int32_t getNumber(const char *name);
54 
63  static char *getName(int32_t number);
64 
67  static bool needsMutex();
68 
72  static void setMutex(threadmutex *mtx);
73 
74  #include <rudiments/private/rpcentry.h>
75 };
76 
77 #endif
Definition: threadmutex.h:13
Definition: rpcentry.h:13