/* * Perforce Extension for PHP * * Copyright 2004-08 Jon Parise <jon@php.net>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* $Header: //guest/jon_parise/api/php/php_perforce.h#6 $ */ #ifndef PHP_PERFORCE_H #define PHP_PERFORCE_H BEGIN_EXTERN_C() extern zend_module_entry perforce_module_entry; #define phpext_perforce_ptr &perforce_module_entry END_EXTERN_C() #ifdef PHP_WIN32 #define PHP_PERFORCE_API __declspec(dllexport) #else #define PHP_PERFORCE_API #endif #ifdef ZTS #include "TSRM.h" #endif PHP_MINIT_FUNCTION(perforce); PHP_MSHUTDOWN_FUNCTION(perforce); PHP_MINFO_FUNCTION(perforce); #endif /* PHP_PERFORCE_H */
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 6168 | Jon_Parise | Bumping copyright years. | ||
#5 | 6078 | Jon_Parise | Updating copyright years. | ||
#4 | 4324 | Jon_Parise |
Adding Win32 support. This includes the addition of a config.w32 Win32 build file, a handful of ZTS fixes, the extraction of the PHPClientUser class (and its p4api header dependency) to a separate header file, and the removal of the p4api_version.h auto-generated file (which may return should I figure out how to generate it using JScript). |
||
#3 | 4293 | Jon_Parise | Use $Header$ keywords instead of $Id$. | ||
#2 | 4292 | Jon_Parise |
Changing these files to the 'ktext' filetype so that the RCS keywords will be expanded. |
||
#1 | 4291 | Jon_Parise | Initial version of the Perforce extension for PHP. |