Ignore:
Timestamp:
2012-07-22T08:26:35+02:00 (3 years ago)
Author:
Xuefer
Message:

refactor: split extension init to sub module. TODO: compatibility regression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_coverager/xc_coverager.h

    r1003 r1026  
     1#ifndef XC_COVERAGER_H_D5BB29AAB992B932E91C70A8C2F5D2B1
     2#define XC_COVERAGER_H_D5BB29AAB992B932E91C70A8C2F5D2B1
     3
     4#if _MSC_VER > 1000
     5#pragma once
     6#endif // _MSC_VER > 1000
     7
    18#include "php.h"
    2 #include "xcache.h"
    39
    4 void xc_coverager_handle_ext_stmt(zend_op_array *op_array, zend_uchar op);
    5 int xc_coverager_module_init(int module_number TSRMLS_DC);
    6 void xc_coverager_module_shutdown();
    7 void xc_coverager_request_init(TSRMLS_D);
    8 void xc_coverager_request_shutdown(TSRMLS_D);
    9 PHP_FUNCTION(xcache_coverager_decode);
    10 PHP_FUNCTION(xcache_coverager_start);
    11 PHP_FUNCTION(xcache_coverager_stop);
    12 PHP_FUNCTION(xcache_coverager_get);
    13 #define XCACHE_COVERAGER_FUNCTIONS() \
    14     PHP_FE(xcache_coverager_decode,  NULL) \
    15     PHP_FE(xcache_coverager_start,   NULL) \
    16     PHP_FE(xcache_coverager_stop,    NULL) \
    17     PHP_FE(xcache_coverager_get,     NULL)
     10int xc_coverager_startup_module();
     11
     12#endif /* XC_COVERAGER_H_D5BB29AAB992B932E91C70A8C2F5D2B1 */
Note: See TracChangeset for help on using the changeset viewer.