php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
msgformat_data.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | This source file is subject to version 3.01 of the PHP license, |
4 | that is bundled with this package in the file LICENSE, and is |
5 | available through the world-wide-web at the following url: |
6 | https://www.php.net/license/3_01.txt |
7 | If you did not receive a copy of the PHP license and are unable to |
8 | obtain it through the world-wide-web, please send a note to |
9 | license@php.net so we can mail you a copy immediately. |
10 +----------------------------------------------------------------------+
11 | Authors: Stanislav Malyshev <stas@zend.com> |
12 +----------------------------------------------------------------------+
13 */
14
15#ifndef MSG_FORMAT_DATA_H
16#define MSG_FORMAT_DATA_H
17
18#include <php.h>
19
20#include "../intl_error.h"
21
22#include <unicode/umsg.h>
23
24typedef struct {
25 // error hangling
27
28 // formatter handling
29 UMessageFormat* umsgf;
33 int tz_set; /* if we've already the time zone in sub-formats */
35
37void msgformat_data_init( msgformat_data* mf_data );
38void msgformat_data_free( msgformat_data* mf_data );
39
40#ifdef MSG_FORMAT_QUOTE_APOS
41int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
42#endif
43
44#endif // MSG_FORMAT_DATA_H
struct _intl_error intl_error
void msgformat_data_free(msgformat_data *mf_data)
msgformat_data * msgformat_data_create(void)
void msgformat_data_init(msgformat_data *mf_data)
UMessageFormat * umsgf
intl_error error
zend_ulong orig_format_len
HashTable * arg_types
uint32_t zend_ulong
Definition zend_long.h:43
struct _zend_array HashTable
Definition zend_types.h:386