PHP  
 PHP: Test and Code Coverage Analysis
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

LCOV - code coverage report
Current view: top level - ext/pdo_firebird - pdo_firebird.c (source / functions) Hit Total Coverage
Test: PHP Code Coverage Lines: 0 14 0.0 %
Date: 2014-04-16 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :   +----------------------------------------------------------------------+
       3             :   | PHP Version 5                                                        |
       4             :   +----------------------------------------------------------------------+
       5             :   | Copyright (c) 1997-2014 The PHP Group                                |
       6             :   +----------------------------------------------------------------------+
       7             :   | This source file is subject to version 3.01 of the PHP license,      |
       8             :   | that is bundled with this package in the file LICENSE, and is        |
       9             :   | available through the world-wide-web at the following url:           |
      10             :   | http://www.php.net/license/3_01.txt                                  |
      11             :   | If you did not receive a copy of the PHP license and are unable to   |
      12             :   | obtain it through the world-wide-web, please send a note to          |
      13             :   | license@php.net so we can mail you a copy immediately.               |
      14             :   +----------------------------------------------------------------------+
      15             :   | Author: Ard Biesheuvel <abies@php.net>                               |
      16             :   +----------------------------------------------------------------------+
      17             : */
      18             : 
      19             : #ifdef HAVE_CONFIG_H
      20             : #include "config.h"
      21             : #endif
      22             : 
      23             : #include "php.h"
      24             : #include "php_ini.h"
      25             : #include "ext/standard/info.h"
      26             : #include "pdo/php_pdo.h"
      27             : #include "pdo/php_pdo_driver.h"
      28             : #include "php_pdo_firebird.h"
      29             : #include "php_pdo_firebird_int.h"
      30             : 
      31             : const zend_function_entry pdo_firebird_functions[] = { /* {{{ */
      32             :         PHP_FE_END
      33             : };
      34             : /* }}} */
      35             : 
      36             : /* {{{ pdo_firebird_deps
      37             :  */
      38             : #if ZEND_MODULE_API_NO >= 20050922
      39             : static const zend_module_dep pdo_firebird_deps[] = {
      40             :         ZEND_MOD_REQUIRED("pdo")
      41             :         ZEND_MOD_END
      42             : };
      43             : #endif
      44             : /* }}} */
      45             : 
      46             : zend_module_entry pdo_firebird_module_entry = { /* {{{ */
      47             : #if ZEND_MODULE_API_NO >= 20050922
      48             :         STANDARD_MODULE_HEADER_EX, NULL,
      49             :         pdo_firebird_deps,
      50             : #else
      51             :         STANDARD_MODULE_HEADER,
      52             : #endif
      53             :         "PDO_Firebird",
      54             :         pdo_firebird_functions,
      55             :         PHP_MINIT(pdo_firebird),
      56             :         PHP_MSHUTDOWN(pdo_firebird),
      57             :         NULL,
      58             :         NULL,
      59             :         PHP_MINFO(pdo_firebird),
      60             :         "0.3",
      61             :         STANDARD_MODULE_PROPERTIES
      62             : };
      63             : /* }}} */
      64             : 
      65             : #ifdef COMPILE_DL_PDO_FIREBIRD
      66             : ZEND_GET_MODULE(pdo_firebird)
      67             : #endif
      68             : 
      69           0 : PHP_MINIT_FUNCTION(pdo_firebird) /* {{{ */
      70             : {
      71           0 :         REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_DATE_FORMAT", (long) PDO_FB_ATTR_DATE_FORMAT);
      72           0 :         REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIME_FORMAT", (long) PDO_FB_ATTR_TIME_FORMAT);
      73           0 :         REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIMESTAMP_FORMAT", (long) PDO_FB_ATTR_TIMESTAMP_FORMAT);
      74             : 
      75           0 :         php_pdo_register_driver(&pdo_firebird_driver);
      76             : 
      77           0 :         return SUCCESS;
      78             : }
      79             : /* }}} */
      80             : 
      81           0 : PHP_MSHUTDOWN_FUNCTION(pdo_firebird) /* {{{ */
      82             : {
      83           0 :         php_pdo_unregister_driver(&pdo_firebird_driver);
      84             : 
      85           0 :         return SUCCESS;
      86             : }
      87             : /* }}} */
      88             : 
      89           0 : PHP_MINFO_FUNCTION(pdo_firebird) /* {{{ */
      90             : {
      91           0 :         php_info_print_table_start();
      92           0 :         php_info_print_table_header(2, "PDO Driver for Firebird", "enabled");
      93           0 :         php_info_print_table_end();
      94           0 : }
      95             : /* }}} */
      96             : 
      97             : /*
      98             :  * Local variables:
      99             :  * tab-width: 4
     100             :  * c-basic-offset: 4
     101             :  * End:
     102             :  * vim600: noet sw=4 ts=4 fdm=marker
     103             :  * vim<600: noet sw=4 ts=4
     104             :  */

Generated by: LCOV version 1.10

Generated at Wed, 16 Apr 2014 12:47:53 +0000 (6 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.