php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
mbfl_memory_device.h File Reference
#include "mbfl_defs.h"
#include "mbfl_string.h"

Go to the source code of this file.

Data Structures

struct  _mbfl_memory_device
 
struct  _mbfl_wchar_device
 

Macros

#define MBFL_MEMORY_DEVICE_ALLOC_SIZE   64
 

Typedefs

typedef struct _mbfl_memory_device mbfl_memory_device
 
typedef struct _mbfl_wchar_device mbfl_wchar_device
 

Functions

MBFLAPI void mbfl_memory_device_init (mbfl_memory_device *device, size_t initsz, size_t allocsz)
 
MBFLAPI void mbfl_memory_device_realloc (mbfl_memory_device *device, size_t initsz, size_t allocsz)
 
MBFLAPI void mbfl_memory_device_clear (mbfl_memory_device *device)
 
MBFLAPI void mbfl_memory_device_reset (mbfl_memory_device *device)
 
MBFLAPI mbfl_stringmbfl_memory_device_result (mbfl_memory_device *device, mbfl_string *result)
 
MBFLAPI void mbfl_memory_device_unput (mbfl_memory_device *device)
 
MBFLAPI int mbfl_memory_device_output (int c, void *data)
 
MBFLAPI int mbfl_memory_device_strcat (mbfl_memory_device *device, const char *psrc)
 
MBFLAPI int mbfl_memory_device_strncat (mbfl_memory_device *device, const char *psrc, size_t len)
 
MBFLAPI int mbfl_memory_device_devcat (mbfl_memory_device *dest, mbfl_memory_device *src)
 
MBFLAPI void mbfl_wchar_device_init (mbfl_wchar_device *device)
 
MBFLAPI int mbfl_wchar_device_output (int c, void *data)
 
MBFLAPI void mbfl_wchar_device_clear (mbfl_wchar_device *device)
 

Macro Definition Documentation

◆ MBFL_MEMORY_DEVICE_ALLOC_SIZE

#define MBFL_MEMORY_DEVICE_ALLOC_SIZE   64

Definition at line 37 of file mbfl_memory_device.h.

Typedef Documentation

◆ mbfl_memory_device

◆ mbfl_wchar_device

Function Documentation

◆ mbfl_memory_device_clear()

MBFLAPI void mbfl_memory_device_clear ( mbfl_memory_device * device)
extern

Definition at line 57 of file mbfl_memory_device.c.

◆ mbfl_memory_device_devcat()

MBFLAPI int mbfl_memory_device_devcat ( mbfl_memory_device * dest,
mbfl_memory_device * src )
extern

Definition at line 137 of file mbfl_memory_device.c.

◆ mbfl_memory_device_init()

MBFLAPI void mbfl_memory_device_init ( mbfl_memory_device * device,
size_t initsz,
size_t allocsz )
extern

Definition at line 40 of file mbfl_memory_device.c.

◆ mbfl_memory_device_output()

MBFLAPI int mbfl_memory_device_output ( int c,
void * data )
extern

Definition at line 88 of file mbfl_memory_device.c.

◆ mbfl_memory_device_realloc()

MBFLAPI void mbfl_memory_device_realloc ( mbfl_memory_device * device,
size_t initsz,
size_t allocsz )
extern

Definition at line 48 of file mbfl_memory_device.c.

◆ mbfl_memory_device_reset()

MBFLAPI void mbfl_memory_device_reset ( mbfl_memory_device * device)
extern

Definition at line 66 of file mbfl_memory_device.c.

◆ mbfl_memory_device_result()

MBFLAPI mbfl_string * mbfl_memory_device_result ( mbfl_memory_device * device,
mbfl_string * result )
extern

Definition at line 78 of file mbfl_memory_device.c.

◆ mbfl_memory_device_strcat()

MBFLAPI int mbfl_memory_device_strcat ( mbfl_memory_device * device,
const char * psrc )
extern

Definition at line 109 of file mbfl_memory_device.c.

◆ mbfl_memory_device_strncat()

MBFLAPI int mbfl_memory_device_strncat ( mbfl_memory_device * device,
const char * psrc,
size_t len )
extern

Definition at line 114 of file mbfl_memory_device.c.

◆ mbfl_memory_device_unput()

MBFLAPI void mbfl_memory_device_unput ( mbfl_memory_device * device)
extern

Definition at line 71 of file mbfl_memory_device.c.

◆ mbfl_wchar_device_clear()

MBFLAPI void mbfl_wchar_device_clear ( mbfl_wchar_device * device)
extern

Definition at line 150 of file mbfl_memory_device.c.

◆ mbfl_wchar_device_init()

MBFLAPI void mbfl_wchar_device_init ( mbfl_wchar_device * device)
extern

Definition at line 142 of file mbfl_memory_device.c.

◆ mbfl_wchar_device_output()

MBFLAPI int mbfl_wchar_device_output ( int c,
void * data )
extern

Definition at line 159 of file mbfl_memory_device.c.