ObjFW
Typedefs
OFString+XMLUnescaping.h File Reference
#import "OFString.h"

Go to the source code of this file.

Typedefs

typedef OFString *_Nullable(^ of_string_xml_unescaping_block_t) (OFString *string, OFString *entity)
 A block which is called to replace unknown XML entities in an XML string. More...
 

Typedef Documentation

◆ of_string_xml_unescaping_block_t

typedef OFString* _Nullable(^ of_string_xml_unescaping_block_t) (OFString *string, OFString *entity)

A block which is called to replace unknown XML entities in an XML string.

Parameters
stringThe XML string which contains an unknown entity
entityThe XML entity which is unknown
Returns
A replacement string for the unknown entity