Changeset 1026 for trunk/mod_disassembler/xc_disassembler.c
- Timestamp:
- 2012-07-22T08:26:35+02:00 (10 months ago)
- File:
-
- 1 edited
-
trunk/mod_disassembler/xc_disassembler.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mod_disassembler/xc_disassembler.c
r1003 r1026 3 3 #include "xcache/xc_utils.h" 4 4 #include "xcache/xc_sandbox.h" 5 #include "xcache/xc_compatibility.h" 5 6 #include "xc_processor.h" 7 8 #include "ext/standard/info.h" 6 9 7 10 static void xc_dasm(zval *output, zend_op_array *op_array TSRMLS_DC) /* {{{ */ … … 216 219 } 217 220 /* }}} */ 221 222 /* {{{ PHP_MINFO_FUNCTION(xcache_disassembler) */ 223 static PHP_MINFO_FUNCTION(xcache_disassembler) 224 { 225 php_info_print_table_start(); 226 php_info_print_table_row(2, "XCache Disassembler Version", XCACHE_VERSION); 227 php_info_print_table_end(); 228 229 DISPLAY_INI_ENTRIES(); 230 } 231 /* }}} */ 232 static zend_function_entry xcache_disassembler_functions[] = /* {{{ */ 233 { 234 PHP_FE(xcache_dasm_file, NULL) 235 PHP_FE(xcache_dasm_string, NULL) 236 PHP_FE_END 237 }; 238 /* }}} */ 239 static zend_module_entry xcache_disassembler_module_entry = { /* {{{ */ 240 STANDARD_MODULE_HEADER, 241 XCACHE_NAME "_Disassembler", 242 xcache_disassembler_functions, 243 NULL, 244 NULL, 245 NULL, 246 NULL, 247 PHP_MINFO(xcache_disassembler), 248 XCACHE_VERSION, 249 #ifdef PHP_GINIT 250 NO_MODULE_GLOBALS, 251 #endif 252 #ifdef ZEND_ENGINE_2 253 NULL, 254 #else 255 NULL, 256 NULL, 257 #endif 258 STANDARD_MODULE_PROPERTIES_EX 259 }; 260 /* }}} */ 261 int xc_disassembler_startup_module() /* {{{ */ 262 { 263 return zend_startup_module(&xcache_disassembler_module_entry); 264 } 265 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

