Changeset 992 in svn for trunk/xcache


Ignore:
Timestamp:
2012-07-18T08:00:28Z (7 years ago)
Author:
Xuefer
Message:

refactor mshutdown minit

Location:
trunk/xcache
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_sandbox.c

    r991 r992  
    434434#endif
    435435
    436 /* init/destroy */
    437 int xc_util_init(int module_number TSRMLS_DC) /* {{{ */
     436/* MINIT/MSHUTDOWN */
     437int xc_sandbox_module_init(int module_number TSRMLS_DC) /* {{{ */
    438438{
    439439#ifdef XCACHE_ERROR_CACHING
     
    445445}
    446446/* }}} */
    447 void xc_util_destroy() /* {{{ */
     447void xc_sandbox_module_shutdown() /* {{{ */
    448448{
    449449#ifdef XCACHE_ERROR_CACHING
     
    454454}
    455455/* }}} */
    456 
  • trunk/xcache/xc_sandbox.h

    r991 r992  
    88/* Purpose: run specified function in compiler sandbox, restore everything to previous state after it returns
    99 */
     10
     11int xc_sandbox_module_init(int module_number TSRMLS_DC);
     12void xc_sandbox_module_shutdown();
    1013
    1114/* return op_array to install */
  • trunk/xcache/xc_utils.h

    r991 r992  
    11#include "php.h"
    22#include "xcache.h"
    3 
    4 int xc_util_init(int module_number TSRMLS_DC);
    5 void xc_util_destroy();
    63
    74typedef struct {
Note: See TracChangeset for help on using the changeset viewer.