|
Revision 11, 477 bytes
(checked in by moo, 3 years ago)
|
|
make it build on windows vc compiler
|
| Line | |
|---|
| 1 | typedef struct _xc_shm_t xc_shm_t; |
|---|
| 2 | typedef size_t xc_shmsize_t; |
|---|
| 3 | |
|---|
| 4 | int xc_shm_can_readonly(xc_shm_t *shm); |
|---|
| 5 | int xc_shm_is_readwrite(xc_shm_t *shm, const void *p); |
|---|
| 6 | int xc_shm_is_readonly(xc_shm_t *shm, const void *p); |
|---|
| 7 | void *xc_shm_to_readwrite(xc_shm_t *shm, void *p); |
|---|
| 8 | void *xc_shm_to_readonly(xc_shm_t *shm, void *p); |
|---|
| 9 | |
|---|
| 10 | void *xc_shm_ptr(xc_shm_t *shm); |
|---|
| 11 | |
|---|
| 12 | xc_shm_t *xc_shm_init(const char *path, xc_shmsize_t size, zend_bool readonly_protection); |
|---|
| 13 | void xc_shm_destroy(xc_shm_t *shm); |
|---|