xref: /PHP-7.4/sapi/cli/php_cli_process_title.h (revision 92ac598a)
1 /*
2   +----------------------------------------------------------------------+
3   | PHP Version 7                                                        |
4   +----------------------------------------------------------------------+
5   | Copyright (c) The PHP Group                                          |
6   +----------------------------------------------------------------------+
7   | This source file is subject to version 3.01 of the PHP license,      |
8   | that is bundled with this package in the file LICENSE, and is        |
9   | available through the world-wide-web at the following url:           |
10   | http://www.php.net/license/3_01.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   | Author: Keyur Govande (kgovande@gmail.com)                           |
16   +----------------------------------------------------------------------+
17 */
18 
19 #ifndef PHP_PS_TITLE_HEADER
20 #define PHP_PS_TITLE_HEADER
21 
22 ZEND_BEGIN_ARG_INFO(arginfo_cli_set_process_title, 0)
23     ZEND_ARG_INFO(0, title)
24 ZEND_END_ARG_INFO()
25 
26 ZEND_BEGIN_ARG_INFO(arginfo_cli_get_process_title, 0)
27 ZEND_END_ARG_INFO()
28 
29 PHP_FUNCTION(cli_set_process_title);
30 PHP_FUNCTION(cli_get_process_title);
31 
32 #endif
33