28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
|
|
/*
|
||
|
|
+----------------------------------------------------------------------+
|
||
|
|
| Copyright © The PHP Group and Contributors. |
|
||
|
|
+----------------------------------------------------------------------+
|
||
|
|
| This source file is subject to the Modified BSD License that is |
|
||
|
|
| bundled with this package in the file LICENSE, and is available |
|
||
|
|
| through the World Wide Web at <https://www.php.net/license/>. |
|
||
|
|
| |
|
||
|
|
| SPDX-License-Identifier: BSD-3-Clause |
|
||
|
|
+----------------------------------------------------------------------+
|
||
|
|
| Author: Sascha Schumann <sascha@schumann.cx> |
|
||
|
|
| Xinchen Hui <laruence@php.net> |
|
||
|
|
+----------------------------------------------------------------------+
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef PHP_SMART_STRING_PUBLIC_H
|
||
|
|
#define PHP_SMART_STRING_PUBLIC_H
|
||
|
|
|
||
|
|
#include <sys/types.h>
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
char *c;
|
||
|
|
size_t len;
|
||
|
|
size_t a;
|
||
|
|
} smart_string;
|
||
|
|
|
||
|
|
#endif
|