home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Magazine / HomeAutomation / Apache / include / php / main / php_variables.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-19  |  2.6 KB  |  50 lines

  1. /*
  2.    +----------------------------------------------------------------------+
  3.    | PHP HTML Embedded Scripting Language Version 3.0                     |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997,1998 PHP Development Team (See Credits file)      |
  6.    +----------------------------------------------------------------------+
  7.    | This program is free software; you can redistribute it and/or modify |
  8.    | it under the terms of one of the following licenses:                 |
  9.    |                                                                      |
  10.    |  A) the GNU General Public License as published by the Free Software |
  11.    |     Foundation; either version 2 of the License, or (at your option) |
  12.    |     any later version.                                               |
  13.    |                                                                      |
  14.    |  B) the PHP License as published by the PHP Development Team and     |
  15.    |     included in the distribution in the file: LICENSE                |
  16.    |                                                                      |
  17.    | This program is distributed in the hope that it will be useful,      |
  18.    | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  19.    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  20.    | GNU General Public License for more details.                         |
  21.    |                                                                      |
  22.    | You should have received a copy of both licenses referred to here.   |
  23.    | If you did not, or have any questions about PHP licensing, please    |
  24.    | contact core@php.net.                                                |
  25.    +----------------------------------------------------------------------+
  26.    | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                       |
  27.    |          Zeev Suraski <zeev@zend.com>                                |
  28.    +----------------------------------------------------------------------+
  29.  */
  30. /* $Id: php_variables.h,v 1.4 2000/02/19 20:12:26 zeev Exp $ */
  31.  
  32. #ifndef _PHP_VARIABLES_H
  33. #define _PHP_VARIABLES_H
  34.  
  35. #include "php.h"
  36. #include "SAPI.h"
  37.  
  38. #define PARSE_POST 0
  39. #define PARSE_GET 1
  40. #define PARSE_COOKIE 2
  41. #define PARSE_STRING 3
  42.  
  43. void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC);
  44. void php_import_environment_variables(ELS_D PLS_DC);
  45. PHPAPI void php_register_variable(char *var, char *val, pval *track_vars_array ELS_DC PLS_DC);
  46. PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_array ELS_DC PLS_DC);
  47.  
  48.  
  49. #endif /* _PHP_VARIABLES_H */
  50.