GME  13
Defines | Functions | Variables
svn_ctype.h File Reference

Character classification routines. More...

Go to the source code of this file.

Defines

#define svn_ctype_test(c, flags)   (0 != (svn_ctype_table[(unsigned char)(c)] & (flags)))
#define SVN_CTYPE_CNTRL   0x0001
#define SVN_CTYPE_SPACE   0x0002
#define SVN_CTYPE_DIGIT   0x0004
#define SVN_CTYPE_UPPER   0x0008
#define SVN_CTYPE_LOWER   0x0010
#define SVN_CTYPE_PUNCT   0x0020
#define SVN_CTYPE_XALPHA   0x0040
#define SVN_CTYPE_ASCII   0x0080
#define SVN_CTYPE_ALPHA   (SVN_CTYPE_LOWER | SVN_CTYPE_UPPER)
#define SVN_CTYPE_ALNUM   (SVN_CTYPE_ALPHA | SVN_CTYPE_DIGIT)
#define SVN_CTYPE_XDIGIT   (SVN_CTYPE_DIGIT | SVN_CTYPE_XALPHA)
#define SVN_CTYPE_GRAPH   (SVN_CTYPE_PUNCT | SVN_CTYPE_ALNUM)
#define SVN_CTYPE_PRINT   (SVN_CTYPE_GRAPH | SVN_CTYPE_SPACE)
#define svn_ctype_iscntrl(c)   svn_ctype_test((c), SVN_CTYPE_CNTRL)
#define svn_ctype_isspace(c)   svn_ctype_test((c), SVN_CTYPE_SPACE)
#define svn_ctype_isdigit(c)   svn_ctype_test((c), SVN_CTYPE_DIGIT)
#define svn_ctype_isupper(c)   svn_ctype_test((c), SVN_CTYPE_UPPER)
#define svn_ctype_islower(c)   svn_ctype_test((c), SVN_CTYPE_LOWER)
#define svn_ctype_ispunct(c)   svn_ctype_test((c), SVN_CTYPE_PUNCT)
#define svn_ctype_isascii(c)   svn_ctype_test((c), SVN_CTYPE_ASCII)
#define svn_ctype_isalpha(c)   svn_ctype_test((c), SVN_CTYPE_ALPHA)
#define svn_ctype_isalnum(c)   svn_ctype_test((c), SVN_CTYPE_ALNUM)
#define svn_ctype_isxdigit(c)   svn_ctype_test((c), SVN_CTYPE_XDIGIT)
#define svn_ctype_isgraph(c)   svn_ctype_test((c), SVN_CTYPE_GRAPH)
#define svn_ctype_isprint(c)   svn_ctype_test((c), SVN_CTYPE_PRINT)
#define SVN_CTYPE_UTF8LEAD   0x0100
#define SVN_CTYPE_UTF8CONT   0x0200
#define SVN_CTYPE_UTF8MBC   (SVN_CTYPE_UTF8LEAD | SVN_CTYPE_UTF8CONT)
#define SVN_CTYPE_UTF8   (SVN_CTYPE_ASCII | SVN_CTYPE_UTF8MBC)
#define svn_ctype_isutf8lead(c)   svn_ctype_test((c), SVN_CTYPE_UTF8LEAD)
#define svn_ctype_isutf8cont(c)   svn_ctype_test((c), SVN_CTYLE_UTF8CONT)
#define svn_ctype_isutf8mbc(c)   svn_ctype_test((c), SVN_CTYPE_UTF8MBC)
#define svn_ctype_isutf8(c)   svn_ctype_test((c), SVN_CTYPE_UTF8)
#define SVN_CTYPE_ASCII_MINUS   45
#define SVN_CTYPE_ASCII_DOT   46
#define SVN_CTYPE_ASCII_COLON   58
#define SVN_CTYPE_ASCII_UNDERSCORE   95
#define SVN_CTYPE_ASCII_TAB   9
#define SVN_CTYPE_ASCII_LINEFEED   10
#define SVN_CTYPE_ASCII_CARRIAGERETURN   13
#define SVN_CTYPE_ASCII_DELETE   127

Functions

int svn_ctype_casecmp (int a, int b)

Variables

const apr_uint32_t *const svn_ctype_table

Detailed Description

Character classification routines.

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================================================================

Since:
New in 1.2.

Definition in file svn_ctype.h.


Define Documentation

#define svn_ctype_test (   c,
  flags 
)    (0 != (svn_ctype_table[(unsigned char)(c)] & (flags)))

Check if c is in the character class described by flags. The flags is a bitwise-or combination of SVN_CTYPE_* constants. Uses svn_ctype_table.

Definition at line 48 of file svn_ctype.h.


Variable Documentation

const apr_uint32_t* const svn_ctype_table

Table of flags for character classification.