Changeset 1187 for trunk/mod_cacher/xc_cacher.c
- Timestamp:
- 12/07/2012 10:25:21 AM (6 months ago)
- Files:
-
- 1 modified
-
trunk/mod_cacher/xc_cacher.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mod_cacher/xc_cacher.c
r1186 r1187 224 224 /* }}} */ 225 225 226 static inline intxc_entry_equal_unlocked(xc_entry_type_t type, const xc_entry_t *entry1, const xc_entry_t *entry2 TSRMLS_DC) /* {{{ */226 static inline zend_bool xc_entry_equal_unlocked(xc_entry_type_t type, const xc_entry_t *entry1, const xc_entry_t *entry2 TSRMLS_DC) /* {{{ */ 227 227 { 228 228 /* this function isn't required but can be in unlocked */ … … 2204 2204 2205 2205 /* gdb helper functions, but N/A for coredump */ 2206 intxc_is_rw(const void *p) /* {{{ */2206 zend_bool xc_is_rw(const void *p) /* {{{ */ 2207 2207 { 2208 2208 xc_shm_t *shm; … … 2229 2229 } 2230 2230 /* }}} */ 2231 intxc_is_ro(const void *p) /* {{{ */2231 zend_bool xc_is_ro(const void *p) /* {{{ */ 2232 2232 { 2233 2233 xc_shm_t *shm; … … 2560 2560 } 2561 2561 2562 static inline intxc_var_has_prefix(xc_entry_t *entry, zval *prefix TSRMLS_DC) /* {{{ */2562 static inline zend_bool xc_var_has_prefix(xc_entry_t *entry, zval *prefix TSRMLS_DC) /* {{{ */ 2563 2563 { 2564 2564 zend_bool result = 0; … … 2593 2593 zend_register_long_constant(ZEND_STRS("XC_TYPE_PHP"), XC_TYPE_PHP, CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC); 2594 2594 zend_register_long_constant(ZEND_STRS("XC_TYPE_VAR"), XC_TYPE_VAR, CONST_CS | CONST_PERSISTENT, module_number TSRMLS_CC); 2595 return 0;2595 return SUCCESS; 2596 2596 } 2597 2597 /* }}} */ … … 2737 2737 shm = NULL; 2738 2738 } 2739 return 0;2739 return FAILURE; 2740 2740 } 2741 2741 /* }}} */ … … 2809 2809 2810 2810 /* user functions */ 2811 static intxcache_admin_auth_check(TSRMLS_D) /* {{{ */2811 static zend_bool xcache_admin_auth_check(TSRMLS_D) /* {{{ */ 2812 2812 { 2813 2813 zval **server = NULL;

