// Copyright (c) 1999-2000 David Muse // See the COPYING file for more information. #ifndef SHAREDMEMORY_H #define SHAREDMEMORY_H #include <sys/types.h> class sharedmemory { public: sharedmemory(key_t key, int size, mode_t mode); virtual ~sharedmemory(); void *getPointer(); int setUid(ushort uid); int setGid(ushort uid); int setMode(mode_t mode); ushort getUid(); ushort getGid(); mode_t getMode(); private: #include <private/sharedmemory.h> }; #endif