source: trunk/myshm.h @ 11

Last change on this file since 11 was 11, checked in by moo, 8 years ago

make it build on windows vc compiler

File size: 477 bytes
RevLine 
[1]1typedef struct _xc_shm_t xc_shm_t;
[11]2typedef size_t xc_shmsize_t;
[1]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 repository browser.