PHP Classes

File: ext/phady.c

Recommend this page to a friend!
  Classes of Alien Fernandez   Phady Framework   ext/phady.c   Download  
File: ext/phady.c
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phady Framework
Web application MVC framework based on Phalcon
Author: By
Last change:
Date: 7 years ago
Size: 26,323 bytes
 

Contents

Class file image Download
/* This file was generated automatically by Zephir do not modify it! */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <php.h> #if PHP_VERSION_ID < 50500 #include <locale.h> #endif #include "php_ext.h" #include "phady.h" #include <ext/standard/info.h> #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/globals.h" #include "kernel/main.h" #include "kernel/fcall.h" #include "kernel/memory.h" zend_class_entry *phady_security_http_firewall_listenerinterface_ce; zend_class_entry *phady_security_core_authentication_authenticationmanagerinterface_ce; zend_class_entry *phady_security_core_user_userinterface_ce; zend_class_entry *phady_security_core_authentication_provider_authenticationproviderinterface_ce; zend_class_entry *phady_security_core_authentication_token_tokeninterface_ce; zend_class_entry *phady_security_core_authorization_voter_voterinterface_ce; zend_class_entry *phady_security_core_encoder_passwordencoderinterface_ce; zend_class_entry *phady_security_core_user_userproviderinterface_ce; zend_class_entry *phady_security_core_user_advanceduserinterface_ce; zend_class_entry *phady_security_core_role_roleinterface_ce; zend_class_entry *phady_security_core_user_factory_userproviderfactoryinterface_ce; zend_class_entry *phady_security_factory_securityfactoryinterface_ce; zend_class_entry *phady_security_http_firewallmapinterface_ce; zend_class_entry *phady_cache_cacheinterface_ce; zend_class_entry *phady_http_requestmatcherinterface_ce; zend_class_entry *phady_messaging_adapter_messaginginterface_ce; zend_class_entry *phady_security_core_authentication_authenticationtrustresolverinterface_ce; zend_class_entry *phady_security_core_authentication_model_userinterface_ce; zend_class_entry *phady_security_core_authentication_token_storage_tokenstorageinterface_ce; zend_class_entry *phady_security_core_authorization_accessdecisionmanagerinterface_ce; zend_class_entry *phady_security_core_authorization_authorizationcheckerinterface_ce; zend_class_entry *phady_security_core_encoder_encoderfactoryinterface_ce; zend_class_entry *phady_security_core_user_usercheckerinterface_ce; zend_class_entry *phady_security_http_accessmapinterface_ce; zend_class_entry *phady_security_http_authentication_authenticationfailurehandlerinterface_ce; zend_class_entry *phady_security_http_authentication_authenticationsuccesshandlerinterface_ce; zend_class_entry *phady_security_http_authorization_accessdeniedhandlerinterface_ce; zend_class_entry *phady_security_http_entrypoint_authenticationentrypointinterface_ce; zend_class_entry *phady_security_http_logout_logouthandlerinterface_ce; zend_class_entry *phady_security_http_logout_logoutsuccesshandlerinterface_ce; zend_class_entry *phady_security_core_authentication_model_usermanagerinterface_ce; zend_class_entry *phady_security_core_authentication_simpleauthenticatorinterface_ce; zend_class_entry *phady_security_core_encoder_encoderawareinterface_ce; zend_class_entry *phady_security_core_role_rolehierarchyinterface_ce; zend_class_entry *phady_security_core_user_equatableinterface_ce; zend_class_entry *phady_security_core_exception_authenticationexception_ce; zend_class_entry *phady_common_entities_modelbase_ce; zend_class_entry *phady_security_core_exception_accountstatusexception_ce; zend_class_entry *phady_security_core_authentication_token_abstracttoken_ce; zend_class_entry *phady_security_core_encoder_basepasswordencoder_ce; zend_class_entry *phady_core_kernel_ce; zend_class_entry *phady_security_core_authentication_provider_userauthenticationprovider_ce; zend_class_entry *phady_security_core_authorization_voter_rolevoter_ce; zend_class_entry *phady_security_core_exception_authenticationserviceexception_ce; zend_class_entry *phady_security_core_role_role_ce; zend_class_entry *phady_security_factory_abstractfactory_ce; zend_class_entry *phady_security_http_firewall_abstractauthenticationlistener_ce; zend_class_entry *phady_0__closure_ce; zend_class_entry *phady_10__closure_ce; zend_class_entry *phady_11__closure_ce; zend_class_entry *phady_12__closure_ce; zend_class_entry *phady_13__closure_ce; zend_class_entry *phady_14__closure_ce; zend_class_entry *phady_15__closure_ce; zend_class_entry *phady_16__closure_ce; zend_class_entry *phady_17__closure_ce; zend_class_entry *phady_18__closure_ce; zend_class_entry *phady_19__closure_ce; zend_class_entry *phady_1__closure_ce; zend_class_entry *phady_20__closure_ce; zend_class_entry *phady_21__closure_ce; zend_class_entry *phady_22__closure_ce; zend_class_entry *phady_23__closure_ce; zend_class_entry *phady_24__closure_ce; zend_class_entry *phady_25__closure_ce; zend_class_entry *phady_26__closure_ce; zend_class_entry *phady_27__closure_ce; zend_class_entry *phady_28__closure_ce; zend_class_entry *phady_29__closure_ce; zend_class_entry *phady_2__closure_ce; zend_class_entry *phady_30__closure_ce; zend_class_entry *phady_31__closure_ce; zend_class_entry *phady_32__closure_ce; zend_class_entry *phady_33__closure_ce; zend_class_entry *phady_34__closure_ce; zend_class_entry *phady_35__closure_ce; zend_class_entry *phady_36__closure_ce; zend_class_entry *phady_37__closure_ce; zend_class_entry *phady_38__closure_ce; zend_class_entry *phady_3__closure_ce; zend_class_entry *phady_4__closure_ce; zend_class_entry *phady_5__closure_ce; zend_class_entry *phady_6__closure_ce; zend_class_entry *phady_7__closure_ce; zend_class_entry *phady_8__closure_ce; zend_class_entry *phady_9__closure_ce; zend_class_entry *phady_cache_cachehandler_ce; zend_class_entry *phady_common_controllers_accessdeniedcontroller_ce; zend_class_entry *phady_common_controllers_controllerbase_ce; zend_class_entry *phady_config_yaml_ce; zend_class_entry *phady_console_command_ce; zend_class_entry *phady_core_kernelcli_ce; zend_class_entry *phady_core_kernelmvc_ce; zend_class_entry *phady_core_namespacehandler_ce; zend_class_entry *phady_core_parameter_ce; zend_class_entry *phady_db_databasehandler_ce; zend_class_entry *phady_exception_ce; zend_class_entry *phady_http_iputils_ce; zend_class_entry *phady_http_requestmatcher_ce; zend_class_entry *phady_mail_mailreader_ce; zend_class_entry *phady_messaging_adapter_rabbitmq_ce; zend_class_entry *phady_messaging_messaging_ce; zend_class_entry *phady_report_excel_template_excelmultitable_ce; zend_class_entry *phady_route_router_ce; zend_class_entry *phady_security_bundle_model_entity_roles_ce; zend_class_entry *phady_security_bundle_model_entity_userrole_ce; zend_class_entry *phady_security_bundle_model_repository_rolerepository_ce; zend_class_entry *phady_security_bundle_model_repository_userrepository_ce; zend_class_entry *phady_security_bundle_model_rolecore_ce; zend_class_entry *phady_security_bundle_model_usercore_ce; zend_class_entry *phady_security_bundle_services_userservice_ce; zend_class_entry *phady_security_core_authentication_authenticationprovidermanager_ce; zend_class_entry *phady_security_core_authentication_authenticationtrustresolver_ce; zend_class_entry *phady_security_core_authentication_model_user_ce; zend_class_entry *phady_security_core_authentication_provider_anonymousauthenticationprovider_ce; zend_class_entry *phady_security_core_authentication_provider_daoauthenticationprovider_ce; zend_class_entry *phady_security_core_authentication_provider_entityuserprovider_ce; zend_class_entry *phady_security_core_authentication_provider_simpleauthenticationprovider_ce; zend_class_entry *phady_security_core_authentication_provider_userprovider_ce; zend_class_entry *phady_security_core_authentication_token_anonymoustoken_ce; zend_class_entry *phady_security_core_authentication_token_remembermetoken_ce; zend_class_entry *phady_security_core_authentication_token_storage_tokenstorage_ce; zend_class_entry *phady_security_core_authentication_token_usernamepasswordtoken_ce; zend_class_entry *phady_security_core_authenticationevents_ce; zend_class_entry *phady_security_core_authorization_accessdecisionmanager_ce; zend_class_entry *phady_security_core_authorization_authorizationchecker_ce; zend_class_entry *phady_security_core_authorization_voter_abstractvoter_ce; zend_class_entry *phady_security_core_authorization_voter_authenticatedvoter_ce; zend_class_entry *phady_security_core_authorization_voter_rolehierarchyvoter_ce; zend_class_entry *phady_security_core_encoder_bcryptpasswordencoder_ce; zend_class_entry *phady_security_core_encoder_encoderfactory_ce; zend_class_entry *phady_security_core_encoder_messagedigestpasswordencoder_ce; zend_class_entry *phady_security_core_encoder_plaintextpasswordencoder_ce; zend_class_entry *phady_security_core_exception_accessdeniedexception_ce; zend_class_entry *phady_security_core_exception_accountexpiredexception_ce; zend_class_entry *phady_security_core_exception_authenticationcredentialsnotfoundexception_ce; zend_class_entry *phady_security_core_exception_badcredentialsexception_ce; zend_class_entry *phady_security_core_exception_credentialsexpiredexception_ce; zend_class_entry *phady_security_core_exception_disabledexception_ce; zend_class_entry *phady_security_core_exception_insufficientauthenticationexception_ce; zend_class_entry *phady_security_core_exception_invalidcsrftokenexception_ce; zend_class_entry *phady_security_core_exception_lockedexception_ce; zend_class_entry *phady_security_core_exception_logoutexception_ce; zend_class_entry *phady_security_core_exception_providernotfoundexception_ce; zend_class_entry *phady_security_core_exception_unsupporteduserexception_ce; zend_class_entry *phady_security_core_exception_usernamenotfoundexception_ce; zend_class_entry *phady_security_core_models_entities_actions_ce; zend_class_entry *phady_security_core_models_entities_groups_ce; zend_class_entry *phady_security_core_models_entities_modules_ce; zend_class_entry *phady_security_core_models_entities_permissions_ce; zend_class_entry *phady_security_core_models_entities_resources_ce; zend_class_entry *phady_security_core_models_entities_user_ce; zend_class_entry *phady_security_core_models_exception_ce; zend_class_entry *phady_security_core_models_repositories_users_ce; zend_class_entry *phady_security_core_role_switchuserrole_ce; zend_class_entry *phady_security_core_security_ce; zend_class_entry *phady_security_core_user_chainuserprovider_ce; zend_class_entry *phady_security_core_user_factory_entityfactory_ce; zend_class_entry *phady_security_core_user_factory_inmemoryfactory_ce; zend_class_entry *phady_security_core_user_inmemoryuserprovider_ce; zend_class_entry *phady_security_core_user_user_ce; zend_class_entry *phady_security_core_user_userchecker_ce; zend_class_entry *phady_security_eventlistener_securitylistener_ce; zend_class_entry *phady_security_exception_ce; zend_class_entry *phady_security_factory_formloginfactory_ce; zend_class_entry *phady_security_firewall_ce; zend_class_entry *phady_security_firewallcontext_ce; zend_class_entry *phady_security_firewallmap_ce; zend_class_entry *phady_security_http_accessmap_ce; zend_class_entry *phady_security_http_authentication_defaultauthenticationfailurehandler_ce; zend_class_entry *phady_security_http_authentication_defaultauthenticationsuccesshandler_ce; zend_class_entry *phady_security_http_authorization_accessdeniedlistener_ce; zend_class_entry *phady_security_http_entrypoint_formauthenticationentrypoint_ce; zend_class_entry *phady_security_http_event_interactiveloginevent_ce; zend_class_entry *phady_security_http_firewall_accesslistener_ce; zend_class_entry *phady_security_http_firewall_anonymousauthenticationlistener_ce; zend_class_entry *phady_security_http_firewall_channellistener_ce; zend_class_entry *phady_security_http_firewall_contextlistener_ce; zend_class_entry *phady_security_http_firewall_exceptionlistener_ce; zend_class_entry *phady_security_http_firewall_logoutlistener_ce; zend_class_entry *phady_security_http_firewall_usernamepasswordformauthenticationlistener_ce; zend_class_entry *phady_security_http_firewallmap_ce; zend_class_entry *phady_security_http_logout_defaultlogoutsuccesshandler_ce; zend_class_entry *phady_security_http_logout_sessionlogouthandler_ce; zend_class_entry *phady_security_http_securityevents_ce; zend_class_entry *phady_security_phadyuserextension_ce; zend_class_entry *phady_security_securityextension_ce; zend_class_entry *phady_util_datetime_ce; zend_class_entry *phady_util_file_ce; zend_class_entry *phady_util_model_ce; zend_class_entry *phady_util_out_ce; zend_class_entry *phady_util_random_ce; zend_class_entry *phady_util_text_ce; zend_class_entry *phady_util_tools_ce; zend_class_entry *phady_util_uuid_ce; zend_class_entry *phady_version_ce; ZEND_DECLARE_MODULE_GLOBALS(phady) PHP_INI_BEGIN() PHP_INI_END() static PHP_MINIT_FUNCTION(phady) { #if PHP_VERSION_ID < 50500 char* old_lc_all = setlocale(LC_ALL, NULL); if (old_lc_all) { size_t len = strlen(old_lc_all); char *tmp = calloc(len+1, 1); if (UNEXPECTED(!tmp)) { return FAILURE; } memcpy(tmp, old_lc_all, len); old_lc_all = tmp; } setlocale(LC_ALL, "C"); #endif REGISTER_INI_ENTRIES(); ZEPHIR_INIT(Phady_Security_Http_Firewall_ListenerInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_AuthenticationManagerInterface); ZEPHIR_INIT(Phady_Security_Core_User_UserInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_AuthenticationProviderInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_TokenInterface); ZEPHIR_INIT(Phady_Security_Core_Authorization_Voter_VoterInterface); ZEPHIR_INIT(Phady_Security_Core_Encoder_PasswordEncoderInterface); ZEPHIR_INIT(Phady_Security_Core_User_UserProviderInterface); ZEPHIR_INIT(Phady_Security_Core_User_AdvancedUserInterface); ZEPHIR_INIT(Phady_Security_Core_Role_RoleInterface); ZEPHIR_INIT(Phady_Security_Core_User_Factory_UserProviderFactoryInterface); ZEPHIR_INIT(Phady_Security_Factory_SecurityFactoryInterface); ZEPHIR_INIT(Phady_Security_Http_FirewallMapInterface); ZEPHIR_INIT(Phady_Cache_CacheInterface); ZEPHIR_INIT(Phady_Http_RequestMatcherInterface); ZEPHIR_INIT(Phady_Messaging_Adapter_MessagingInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_AuthenticationTrustResolverInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_Model_UserInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_Storage_TokenStorageInterface); ZEPHIR_INIT(Phady_Security_Core_Authorization_AccessDecisionManagerInterface); ZEPHIR_INIT(Phady_Security_Core_Authorization_AuthorizationCheckerInterface); ZEPHIR_INIT(Phady_Security_Core_Encoder_EncoderFactoryInterface); ZEPHIR_INIT(Phady_Security_Core_User_UserCheckerInterface); ZEPHIR_INIT(Phady_Security_Http_AccessMapInterface); ZEPHIR_INIT(Phady_Security_Http_Authentication_AuthenticationFailureHandlerInterface); ZEPHIR_INIT(Phady_Security_Http_Authentication_AuthenticationSuccessHandlerInterface); ZEPHIR_INIT(Phady_Security_Http_Authorization_AccessDeniedHandlerInterface); ZEPHIR_INIT(Phady_Security_Http_EntryPoint_AuthenticationEntryPointInterface); ZEPHIR_INIT(Phady_Security_Http_Logout_LogoutHandlerInterface); ZEPHIR_INIT(Phady_Security_Http_Logout_LogoutSuccessHandlerInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_Model_UserManagerInterface); ZEPHIR_INIT(Phady_Security_Core_Authentication_SimpleAuthenticatorInterface); ZEPHIR_INIT(Phady_Security_Core_Encoder_EncoderAwareInterface); ZEPHIR_INIT(Phady_Security_Core_Role_RoleHierarchyInterface); ZEPHIR_INIT(Phady_Security_Core_User_EquatableInterface); ZEPHIR_INIT(Phady_Security_Core_Exception_AuthenticationException); ZEPHIR_INIT(Phady_Common_Entities_ModelBase); ZEPHIR_INIT(Phady_Security_Core_Exception_AccountStatusException); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_AbstractToken); ZEPHIR_INIT(Phady_Security_Core_Encoder_BasePasswordEncoder); ZEPHIR_INIT(Phady_Core_Kernel); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_UserAuthenticationProvider); ZEPHIR_INIT(Phady_Security_Core_Authorization_Voter_RoleVoter); ZEPHIR_INIT(Phady_Security_Core_Exception_AuthenticationServiceException); ZEPHIR_INIT(Phady_Security_Core_Role_Role); ZEPHIR_INIT(Phady_Security_Factory_AbstractFactory); ZEPHIR_INIT(Phady_Security_Http_Firewall_AbstractAuthenticationListener); ZEPHIR_INIT(Phady_Cache_CacheHandler); ZEPHIR_INIT(Phady_Common_Controllers_AccessDeniedController); ZEPHIR_INIT(Phady_Common_Controllers_ControllerBase); ZEPHIR_INIT(Phady_Config_Yaml); ZEPHIR_INIT(Phady_Console_Command); ZEPHIR_INIT(Phady_Core_KernelCli); ZEPHIR_INIT(Phady_Core_KernelMvc); ZEPHIR_INIT(Phady_Core_NamespaceHandler); ZEPHIR_INIT(Phady_Core_Parameter); ZEPHIR_INIT(Phady_Db_DatabaseHandler); ZEPHIR_INIT(Phady_Exception); ZEPHIR_INIT(Phady_Http_IpUtils); ZEPHIR_INIT(Phady_Http_RequestMatcher); ZEPHIR_INIT(Phady_Mail_MailReader); ZEPHIR_INIT(Phady_Messaging_Adapter_RabbitMQ); ZEPHIR_INIT(Phady_Messaging_Messaging); ZEPHIR_INIT(Phady_Report_Excel_Template_ExcelMultiTable); ZEPHIR_INIT(Phady_Route_Router); ZEPHIR_INIT(Phady_Security_Bundle_Model_Entity_Roles); ZEPHIR_INIT(Phady_Security_Bundle_Model_Entity_UserRole); ZEPHIR_INIT(Phady_Security_Bundle_Model_Repository_RoleRepository); ZEPHIR_INIT(Phady_Security_Bundle_Model_Repository_UserRepository); ZEPHIR_INIT(Phady_Security_Bundle_Model_RoleCore); ZEPHIR_INIT(Phady_Security_Bundle_Model_UserCore); ZEPHIR_INIT(Phady_Security_Bundle_Services_UserService); ZEPHIR_INIT(Phady_Security_Core_AuthenticationEvents); ZEPHIR_INIT(Phady_Security_Core_Authentication_AuthenticationProviderManager); ZEPHIR_INIT(Phady_Security_Core_Authentication_AuthenticationTrustResolver); ZEPHIR_INIT(Phady_Security_Core_Authentication_Model_User); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_AnonymousAuthenticationProvider); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_DaoAuthenticationProvider); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_EntityUserProvider); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_SimpleAuthenticationProvider); ZEPHIR_INIT(Phady_Security_Core_Authentication_Provider_UserProvider); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_AnonymousToken); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_RememberMeToken); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_Storage_TokenStorage); ZEPHIR_INIT(Phady_Security_Core_Authentication_Token_UsernamePasswordToken); ZEPHIR_INIT(Phady_Security_Core_Authorization_AccessDecisionManager); ZEPHIR_INIT(Phady_Security_Core_Authorization_AuthorizationChecker); ZEPHIR_INIT(Phady_Security_Core_Authorization_Voter_AbstractVoter); ZEPHIR_INIT(Phady_Security_Core_Authorization_Voter_AuthenticatedVoter); ZEPHIR_INIT(Phady_Security_Core_Authorization_Voter_RoleHierarchyVoter); ZEPHIR_INIT(Phady_Security_Core_Encoder_BCryptPasswordEncoder); ZEPHIR_INIT(Phady_Security_Core_Encoder_EncoderFactory); ZEPHIR_INIT(Phady_Security_Core_Encoder_MessageDigestPasswordEncoder); ZEPHIR_INIT(Phady_Security_Core_Encoder_PlaintextPasswordEncoder); ZEPHIR_INIT(Phady_Security_Core_Exception_AccessDeniedException); ZEPHIR_INIT(Phady_Security_Core_Exception_AccountExpiredException); ZEPHIR_INIT(Phady_Security_Core_Exception_AuthenticationCredentialsNotFoundException); ZEPHIR_INIT(Phady_Security_Core_Exception_BadCredentialsException); ZEPHIR_INIT(Phady_Security_Core_Exception_CredentialsExpiredException); ZEPHIR_INIT(Phady_Security_Core_Exception_DisabledException); ZEPHIR_INIT(Phady_Security_Core_Exception_InsufficientAuthenticationException); ZEPHIR_INIT(Phady_Security_Core_Exception_InvalidCsrfTokenException); ZEPHIR_INIT(Phady_Security_Core_Exception_LockedException); ZEPHIR_INIT(Phady_Security_Core_Exception_LogoutException); ZEPHIR_INIT(Phady_Security_Core_Exception_ProviderNotFoundException); ZEPHIR_INIT(Phady_Security_Core_Exception_UnsupportedUserException); ZEPHIR_INIT(Phady_Security_Core_Exception_UsernameNotFoundException); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_Actions); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_Groups); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_Modules); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_Permissions); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_Resources); ZEPHIR_INIT(Phady_Security_Core_Models_Entities_User); ZEPHIR_INIT(Phady_Security_Core_Models_Exception); ZEPHIR_INIT(Phady_Security_Core_Models_Repositories_Users); ZEPHIR_INIT(Phady_Security_Core_Role_SwitchUserRole); ZEPHIR_INIT(Phady_Security_Core_Security); ZEPHIR_INIT(Phady_Security_Core_User_ChainUserProvider); ZEPHIR_INIT(Phady_Security_Core_User_Factory_EntityFactory); ZEPHIR_INIT(Phady_Security_Core_User_Factory_InMemoryFactory); ZEPHIR_INIT(Phady_Security_Core_User_InMemoryUserProvider); ZEPHIR_INIT(Phady_Security_Core_User_User); ZEPHIR_INIT(Phady_Security_Core_User_UserChecker); ZEPHIR_INIT(Phady_Security_EventListener_SecurityListener); ZEPHIR_INIT(Phady_Security_Exception); ZEPHIR_INIT(Phady_Security_Factory_FormLoginFactory); ZEPHIR_INIT(Phady_Security_Firewall); ZEPHIR_INIT(Phady_Security_FirewallContext); ZEPHIR_INIT(Phady_Security_FirewallMap); ZEPHIR_INIT(Phady_Security_Http_AccessMap); ZEPHIR_INIT(Phady_Security_Http_Authentication_DefaultAuthenticationFailureHandler); ZEPHIR_INIT(Phady_Security_Http_Authentication_DefaultAuthenticationSuccessHandler); ZEPHIR_INIT(Phady_Security_Http_Authorization_AccessDeniedListener); ZEPHIR_INIT(Phady_Security_Http_EntryPoint_FormAuthenticationEntryPoint); ZEPHIR_INIT(Phady_Security_Http_Event_InteractiveLoginEvent); ZEPHIR_INIT(Phady_Security_Http_FirewallMap); ZEPHIR_INIT(Phady_Security_Http_Firewall_AccessListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_AnonymousAuthenticationListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_ChannelListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_ContextListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_ExceptionListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_LogoutListener); ZEPHIR_INIT(Phady_Security_Http_Firewall_UsernamePasswordFormAuthenticationListener); ZEPHIR_INIT(Phady_Security_Http_Logout_DefaultLogoutSuccessHandler); ZEPHIR_INIT(Phady_Security_Http_Logout_SessionLogoutHandler); ZEPHIR_INIT(Phady_Security_Http_SecurityEvents); ZEPHIR_INIT(Phady_Security_PhadyUserExtension); ZEPHIR_INIT(Phady_Security_SecurityExtension); ZEPHIR_INIT(Phady_Util_DateTime); ZEPHIR_INIT(Phady_Util_File); ZEPHIR_INIT(Phady_Util_Model); ZEPHIR_INIT(Phady_Util_Out); ZEPHIR_INIT(Phady_Util_Random); ZEPHIR_INIT(Phady_Util_Text); ZEPHIR_INIT(Phady_Util_Tools); ZEPHIR_INIT(Phady_Util_Uuid); ZEPHIR_INIT(Phady_Version); ZEPHIR_INIT(phady_0__closure); ZEPHIR_INIT(phady_10__closure); ZEPHIR_INIT(phady_11__closure); ZEPHIR_INIT(phady_12__closure); ZEPHIR_INIT(phady_13__closure); ZEPHIR_INIT(phady_14__closure); ZEPHIR_INIT(phady_15__closure); ZEPHIR_INIT(phady_16__closure); ZEPHIR_INIT(phady_17__closure); ZEPHIR_INIT(phady_18__closure); ZEPHIR_INIT(phady_19__closure); ZEPHIR_INIT(phady_1__closure); ZEPHIR_INIT(phady_20__closure); ZEPHIR_INIT(phady_21__closure); ZEPHIR_INIT(phady_22__closure); ZEPHIR_INIT(phady_23__closure); ZEPHIR_INIT(phady_24__closure); ZEPHIR_INIT(phady_25__closure); ZEPHIR_INIT(phady_26__closure); ZEPHIR_INIT(phady_27__closure); ZEPHIR_INIT(phady_28__closure); ZEPHIR_INIT(phady_29__closure); ZEPHIR_INIT(phady_2__closure); ZEPHIR_INIT(phady_30__closure); ZEPHIR_INIT(phady_31__closure); ZEPHIR_INIT(phady_32__closure); ZEPHIR_INIT(phady_33__closure); ZEPHIR_INIT(phady_34__closure); ZEPHIR_INIT(phady_35__closure); ZEPHIR_INIT(phady_36__closure); ZEPHIR_INIT(phady_37__closure); ZEPHIR_INIT(phady_38__closure); ZEPHIR_INIT(phady_3__closure); ZEPHIR_INIT(phady_4__closure); ZEPHIR_INIT(phady_5__closure); ZEPHIR_INIT(phady_6__closure); ZEPHIR_INIT(phady_7__closure); ZEPHIR_INIT(phady_8__closure); ZEPHIR_INIT(phady_9__closure); #if PHP_VERSION_ID < 50500 setlocale(LC_ALL, old_lc_all); free(old_lc_all); #endif return SUCCESS; } #ifndef ZEPHIR_RELEASE static PHP_MSHUTDOWN_FUNCTION(phady) { zephir_deinitialize_memory(TSRMLS_C); UNREGISTER_INI_ENTRIES(); return SUCCESS; } #endif /** * Initialize globals on each request or each thread started */ static void php_zephir_init_globals(zend_phady_globals *phady_globals TSRMLS_DC) { phady_globals->initialized = 0; /* Memory options */ phady_globals->active_memory = NULL; /* Virtual Symbol Tables */ phady_globals->active_symbol_table = NULL; /* Cache Enabled */ phady_globals->cache_enabled = 1; /* Recursive Lock */ phady_globals->recursive_lock = 0; /* Static cache */ memset(phady_globals->scache, '\0', sizeof(zephir_fcall_cache_entry*) * ZEPHIR_MAX_CACHE_SLOTS); } static PHP_RINIT_FUNCTION(phady) { zend_phady_globals *phady_globals_ptr = ZEPHIR_VGLOBAL; php_zephir_init_globals(phady_globals_ptr TSRMLS_CC); //zephir_init_interned_strings(TSRMLS_C); zephir_initialize_memory(phady_globals_ptr TSRMLS_CC); return SUCCESS; } static PHP_RSHUTDOWN_FUNCTION(phady) { zephir_deinitialize_memory(TSRMLS_C); return SUCCESS; } static PHP_MINFO_FUNCTION(phady) { php_info_print_box_start(0); php_printf("%s", PHP_PHADY_DESCRIPTION); php_info_print_box_end(); php_info_print_table_start(); php_info_print_table_header(2, PHP_PHADY_NAME, "enabled"); php_info_print_table_row(2, "Author", PHP_PHADY_AUTHOR); php_info_print_table_row(2, "Version", PHP_PHADY_VERSION); php_info_print_table_row(2, "Build Date", __DATE__ " " __TIME__ ); php_info_print_table_row(2, "Powered by Zephir", "Version " PHP_PHADY_ZEPVERSION); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); } static PHP_GINIT_FUNCTION(phady) { php_zephir_init_globals(phady_globals TSRMLS_CC); } static PHP_GSHUTDOWN_FUNCTION(phady) { } zend_function_entry php_phady_functions[] = { ZEND_FE_END }; zend_module_entry phady_module_entry = { STANDARD_MODULE_HEADER_EX, NULL, NULL, PHP_PHADY_EXTNAME, php_phady_functions, PHP_MINIT(phady), #ifndef ZEPHIR_RELEASE PHP_MSHUTDOWN(phady), #else NULL, #endif PHP_RINIT(phady), PHP_RSHUTDOWN(phady), PHP_MINFO(phady), PHP_PHADY_VERSION, ZEND_MODULE_GLOBALS(phady), PHP_GINIT(phady), PHP_GSHUTDOWN(phady), NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_PHADY ZEND_GET_MODULE(phady) #endif