1 /**
2  * Copyright 2015-2017 DataStax, 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_driver.h"
18 
19 zend_class_entry *php_driver_timestamp_gen_ce = NULL;
20 
21 static zend_function_entry php_driver_timestamp_gen_methods[] = {
22   PHP_FE_END
23 };
24 
25 void
php_driver_define_TimestampGenerator(TSRMLS_D)26 php_driver_define_TimestampGenerator(TSRMLS_D)
27 {
28   zend_class_entry ce;
29 
30   INIT_CLASS_ENTRY(ce, PHP_DRIVER_NAMESPACE "\\TimestampGenerator", php_driver_timestamp_gen_methods);
31   php_driver_timestamp_gen_ce = zend_register_internal_class(&ce TSRMLS_CC);
32   php_driver_timestamp_gen_ce->ce_flags |= ZEND_ACC_INTERFACE;
33 }
34