1 /* 2 * Copyright 2015-2017 MongoDB, Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #include <php.h> 18 19 #ifdef HAVE_CONFIG_H 20 #include "config.h" 21 #endif 22 23 #include "phongo_compat.h" 24 #include "php_phongo.h" 25 26 zend_class_entry* php_phongo_executiontimeoutexception_ce; 27 28 /* {{{ MongoDB\Driver\Exception\ExecutionTimeoutException function entries */ 29 static zend_function_entry php_phongo_executiontimeoutexception_me[] = { 30 PHP_FE_END 31 }; 32 /* }}} */ 33 php_phongo_executiontimeoutexception_init_ce(INIT_FUNC_ARGS)34void php_phongo_executiontimeoutexception_init_ce(INIT_FUNC_ARGS) /* {{{ */ 35 { 36 zend_class_entry ce; 37 38 INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver\\Exception", "ExecutionTimeoutException", php_phongo_executiontimeoutexception_me); 39 php_phongo_executiontimeoutexception_ce = zend_register_internal_class_ex(&ce, php_phongo_serverexception_ce); 40 PHONGO_CE_FINAL(php_phongo_executiontimeoutexception_ce); 41 } /* }}} */ 42 43 /* 44 * Local variables: 45 * tab-width: 4 46 * c-basic-offset: 4 47 * End: 48 * vim600: noet sw=4 ts=4 fdm=marker 49 * vim<600: noet sw=4 ts=4 50 */ 51