root/trunk/myshm.h @ 1

Revision 1, 483 bytes (checked in by moo, 7 years ago)

initial import to online

Line 
1typedef struct _xc_shm_t xc_shm_t;
2typedef unsigned int xc_shmsize_t;
3
4int xc_shm_can_readonly(xc_shm_t *shm);
5int xc_shm_is_readwrite(xc_shm_t *shm, const void *p);
6int xc_shm_is_readonly(xc_shm_t *shm, const void *p);
7void *xc_shm_to_readwrite(xc_shm_t *shm, void *p);
8void *xc_shm_to_readonly(xc_shm_t *shm, void *p);
9
10void *xc_shm_ptr(xc_shm_t *shm);
11
12xc_shm_t *xc_shm_init(const char *path, xc_shmsize_t size, zend_bool readonly_protection);
13void xc_shm_destroy(xc_shm_t *shm);
Note: See TracBrowser for help on using the browser.