Switch to unified view

a/src/sysvshm.h b/src/sysvshm.h
...
...
25
#include <sys/shm.h>
25
#include <sys/shm.h>
26
26
27
class ShmSeg {
27
class ShmSeg {
28
public:
28
public:
29
    ShmSeg(key_t ky, size_t size, bool create = false, int perms = 0600);
29
    ShmSeg(key_t ky, size_t size, bool create = false, int perms = 0600);
30
    ShmSeg(const char*pathname, int proj_id, size_t size,  bool create = false, int perms = 0600);
30
    ShmSeg(const char*pathname, int proj_id, size_t size,  bool create = false,
31
           int perms = 0600);
31
    ShmSeg(int size) : ShmSeg(IPC_PRIVATE, size) {}
32
    ShmSeg(int size) : ShmSeg(IPC_PRIVATE, size) {}
32
    virtual ~ShmSeg();
33
    virtual ~ShmSeg();
33
    virtual void setremove(bool onoff = true);
34
    virtual void setremove(bool onoff = true);
34
    virtual void *getseg();
35
    virtual void *getseg();
35
    virtual size_t getsize();
36
    virtual size_t getsize();
36
    virtual bool ok();
37
    virtual bool ok();
37
38
    virtual int geterrno();
39
    
38
    class Internal;
40
    class Internal;
39
protected:
41
protected:
40
    Internal *m;
42
    Internal *m;
41
};
43
};
42
44