xref: /PHP-8.3/win32/ipc.h (revision 01b3fc03)
1 /*
2    +----------------------------------------------------------------------+
3    | Copyright (c) The PHP Group                                          |
4    +----------------------------------------------------------------------+
5    | This source file is subject to version 3.01 of the PHP license,      |
6    | that is bundled with this package in the file LICENSE, and is        |
7    | available through the world-wide-web at the following url:           |
8    | https://www.php.net/license/3_01.txt                                 |
9    | If you did not receive a copy of the PHP license and are unable to   |
10    | obtain it through the world-wide-web, please send a note to          |
11    | license@php.net so we can mail you a copy immediately.               |
12    +----------------------------------------------------------------------+
13    | Author: Anatol Belski <ab@php.net>                                   |
14    +----------------------------------------------------------------------+
15  */
16 
17 #ifndef PHP_WIN32_IPC_H
18 #define PHP_WIN32_IPC_H 1
19 
20 #ifdef PHP_EXPORTS
21 # define PHP_WIN32_IPC_API __declspec(dllexport)
22 #else
23 # define PHP_WIN32_IPC_API __declspec(dllimport)
24 #endif
25 
26 typedef int key_t;
27 
28 PHP_WIN32_IPC_API key_t ftok(const char *path, int id);
29 
30 
31 #endif /* PHP_WIN32_IPC_H */
32