00001
00002
00003
00004
00005
00006
00007
#ifndef __WVSHMZONE_H
00008
#define __WVSHMZONE_H
00009
00010
#include "wverror.h"
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 class WvShmZone :
public WvError
00021 {
00022
public:
00023
00024
00025
00026
00027
00028
WvShmZone(size_t
size);
00029
~WvShmZone();
00030
00031
private:
00032
int fd;
00033
00034
public:
00035 int size;
00036
00037
union {
00038 void *
buf;
00039 char *
cbuf;
00040 unsigned char *
ucbuf;
00041 };
00042 };
00043
00044
00045
#endif // __WVSHMZONE_h