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

  1. /*
  2.    +----------------------------------------------------------------------+
  3.    | PHP version 4.0                                                      |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group                   |
  6.    +----------------------------------------------------------------------+
  7.    | This source file is subject to version 2.0 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_0.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: Stig Bakken <ssb@fast.no>                                   |
  16.    |                                                                      |
  17.    +----------------------------------------------------------------------+
  18.  */
  19.  
  20. #ifndef _PHP_TICKS_H
  21. #define _PHP_TICKS_H
  22.  
  23. struct _php_tick_function_entry {
  24.     void (*func)(int count);
  25.     struct _php_tick_function_entry *next;
  26. };
  27.  
  28. int php_startup_ticks(PLS_D);
  29. void php_shutdown_ticks(PLS_D);
  30. void php_run_ticks(int count);
  31. PHPAPI int php_add_tick_function(void (*func)(int count));
  32. PHPAPI int php_remove_tick_function(void (*func)(int count));
  33.  
  34. #endif
  35.  
  36. /*
  37.  * Local variables:
  38.  * tab-width: 4
  39.  * c-basic-offset: 4
  40.  * End:
  41.  */
  42.