home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / main / php_variables.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-26  |  1.9 KB  |  42 lines

  1. /*
  2.    +----------------------------------------------------------------------+
  3.    | PHP version 4.0                                                      |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997-2001 The PHP Group                                |
  6.    +----------------------------------------------------------------------+
  7.    | This source file is subject to version 2.02 of the PHP license,      |
  8.    | that is bundled with this package in the file LICENSE, and is        |
  9.    | available at through the world-wide-web at                           |
  10.    | http://www.php.net/license/2_02.txt.                                 |
  11.    | If you did not receive a copy of the PHP license and are unable to   |
  12.    | obtain it through the world-wide-web, please send a note to          |
  13.    | license@php.net so we can mail you a copy immediately.               |
  14.    +----------------------------------------------------------------------+
  15.    | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                       |
  16.    |          Zeev Suraski <zeev@zend.com>                                |
  17.    +----------------------------------------------------------------------+
  18. */
  19.  
  20. /* $Id: php_variables.h,v 1.10 2001/02/26 06:07:31 andi Exp $ */
  21.  
  22. #ifndef PHP_VARIABLES_H
  23. #define PHP_VARIABLES_H
  24.  
  25. #include "php.h"
  26. #include "SAPI.h"
  27.  
  28. #define PARSE_POST 0
  29. #define PARSE_GET 1
  30. #define PARSE_COOKIE 2
  31. #define PARSE_STRING 3
  32.  
  33. void php_treat_data(int arg, char *str, zval* destArray ELS_DC PLS_DC SLS_DC);
  34. PHPAPI void php_import_environment_variables(zval *array_ptr ELS_DC PLS_DC);
  35. PHPAPI void php_register_variable(char *var, char *val, pval *track_vars_array ELS_DC PLS_DC);
  36. /* binary-safe version */
  37. PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, pval *track_vars_array ELS_DC PLS_DC);
  38. PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_array ELS_DC PLS_DC);
  39.  
  40.  
  41. #endif /* PHP_VARIABLES_H */
  42.