chvalid: Unicode character range checking

## chvalid

chvalid - Unicode character range checking

this module exports interfaces for the character range validation APIs This file is automatically generated from the cvs source definition files using the genChRanges.py Python script

Author(s): William Brack <wbrack@mmm.com.hk>

## Synopsis

    #define xmlIsBaseCharQ(c);
    #define xmlIsBaseChar_ch(c);
    #define xmlIsBlankQ(c);
    #define xmlIsBlank_ch(c);
    #define xmlIsCharQ(c);
    #define xmlIsChar_ch(c);
    #define xmlIsCombiningQ(c);
    #define xmlIsDigitQ(c);
    #define xmlIsDigit_ch(c);
    #define xmlIsExtenderQ(c);
    #define xmlIsExtender_ch(c);
    #define xmlIsIdeographicQ(c);
    #define xmlIsPubidCharQ(c);
    #define xmlIsPubidChar_ch(c);
    typedef struct _xmlChLRange xmlChLRange;
    typedef xmlChLRange * xmlChLRangePtr;
    typedef struct _xmlChRangeGroup xmlChRangeGroup;
    typedef xmlChRangeGroup * xmlChRangeGroupPtr;
    typedef struct _xmlChSRange xmlChSRange;
    typedef xmlChSRange * xmlChSRangePtr;
    int	xmlCharInRange			(unsigned int val,
    					 const xmlChRangeGroup * rptr);
    int	xmlIsBaseChar			(unsigned int ch);
    int	xmlIsBlank			(unsigned int ch);
    int	xmlIsChar			(unsigned int ch);
    int	xmlIsCombining			(unsigned int ch);
    int	xmlIsDigit			(unsigned int ch);
    int	xmlIsExtender			(unsigned int ch);
    int	xmlIsIdeographic		(unsigned int ch);
    int	xmlIsPubidChar			(unsigned int ch);

## Description

## Details

### Macro xmlIsBaseCharQ

    #define xmlIsBaseCharQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsBaseChar_ch

    #define xmlIsBaseChar_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsBlankQ

    #define xmlIsBlankQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsBlank_ch

    #define xmlIsBlank_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsCharQ

    #define xmlIsCharQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsChar_ch

    #define xmlIsChar_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsCombiningQ

    #define xmlIsCombiningQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsDigitQ

    #define xmlIsDigitQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsDigit_ch

    #define xmlIsDigit_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsExtenderQ

    #define xmlIsExtenderQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsExtender_ch

    #define xmlIsExtender_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsIdeographicQ

    #define xmlIsIdeographicQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsPubidCharQ

    #define xmlIsPubidCharQ(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Macro xmlIsPubidChar_ch

    #define xmlIsPubidChar_ch(c);

Automatically generated by genChRanges.py

`c`: | char to validate

### Structure xmlChLRange

    struct _xmlChLRange {
        unsigned int	low
        unsigned int	high
    } xmlChLRange;

### Typedef xmlChLRangePtr

    xmlChLRange * xmlChLRangePtr;

### Structure xmlChRangeGroup

    struct _xmlChRangeGroup {
        int	nbShortRange
        int	nbLongRange
        const xmlChSRange *	shortRange	: points to an array of ranges
        const xmlChLRange *	longRange
    } xmlChRangeGroup;

### Typedef xmlChRangeGroupPtr

    xmlChRangeGroup * xmlChRangeGroupPtr;

### Structure xmlChSRange

    struct _xmlChSRange {
        unsigned short	low
        unsigned short	high
    } xmlChSRange;

### Typedef xmlChSRangePtr

    xmlChSRange * xmlChSRangePtr;

### Variable xmlIsBaseCharGroup

    const xmlChRangeGroup xmlIsBaseCharGroup;

### Variable xmlIsCharGroup

    const xmlChRangeGroup xmlIsCharGroup;

### Variable xmlIsCombiningGroup

    const xmlChRangeGroup xmlIsCombiningGroup;

### Variable xmlIsDigitGroup

    const xmlChRangeGroup xmlIsDigitGroup;

### Variable xmlIsExtenderGroup

    const xmlChRangeGroup xmlIsExtenderGroup;

### Variable xmlIsIdeographicGroup

    const xmlChRangeGroup xmlIsIdeographicGroup;

### Variable xmlIsPubidChar_tab

    const unsigned charxmlIsPubidChar_tab[256] xmlIsPubidChar_tab;

### xmlCharInRange ()

    int	xmlCharInRange			(unsigned int val,
    					 const xmlChRangeGroup * rptr)

Does a binary search of the range table to determine if char is valid

`val`: | character to be validated
`rptr`: | pointer to range to be used to validate
`Returns`: | true if character valid, false otherwise

### xmlIsBaseChar ()

    int	xmlIsBaseChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsBaseChar_ch or xmlIsBaseCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsBlank ()

    int	xmlIsBlank			(unsigned int ch)

This function is DEPRECATED. Use xmlIsBlank_ch or xmlIsBlankQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsChar ()

    int	xmlIsChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsCombining ()

    int	xmlIsCombining			(unsigned int ch)

This function is DEPRECATED. Use xmlIsCombiningQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsDigit ()

    int	xmlIsDigit			(unsigned int ch)

This function is DEPRECATED. Use xmlIsDigit_ch or xmlIsDigitQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsExtender ()

    int	xmlIsExtender			(unsigned int ch)

This function is DEPRECATED. Use xmlIsExtender_ch or xmlIsExtenderQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsIdeographic ()

    int	xmlIsIdeographic		(unsigned int ch)

This function is DEPRECATED. Use xmlIsIdeographicQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### xmlIsPubidChar ()

    int	xmlIsPubidChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsPubidChar_ch or xmlIsPubidCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise