Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Basic character classification - 7-bit ASCII only

Macros

#define SVN_CTYPE_CNTRL   0x0001
 Control character.
 
#define SVN_CTYPE_SPACE   0x0002
 Whitespace.
 
#define SVN_CTYPE_DIGIT   0x0004
 Decimal digit.
 
#define SVN_CTYPE_UPPER   0x0008
 Uppercase letter.
 
#define SVN_CTYPE_LOWER   0x0010
 Lowercase letter.
 
#define SVN_CTYPE_PUNCT   0x0020
 Punctuation mark.
 
#define SVN_CTYPE_XALPHA   0x0040
 Hexadecimal digits A to F.
 
#define SVN_CTYPE_ASCII   0x0080
 ASCII subset.
 
#define SVN_CTYPE_ALPHA   (SVN_CTYPE_LOWER | SVN_CTYPE_UPPER)
 ASCII letter.
 
#define SVN_CTYPE_ALNUM   (SVN_CTYPE_ALPHA | SVN_CTYPE_DIGIT)
 ASCII letter or decimal digit.
 
#define SVN_CTYPE_XDIGIT   (SVN_CTYPE_DIGIT | SVN_CTYPE_XALPHA)
 ASCII hexadecimal digit.
 
#define SVN_CTYPE_GRAPH   (SVN_CTYPE_PUNCT | SVN_CTYPE_ALNUM)
 Printable ASCII except space.
 
#define SVN_CTYPE_PRINT   (SVN_CTYPE_GRAPH | SVN_CTYPE_SPACE)
 All printable ASCII.
 
#define svn_ctype_iscntrl(c)   svn_ctype_test((c), SVN_CTYPE_CNTRL)
 Check if c is an ASCII control character. More...
 
#define svn_ctype_isspace(c)   svn_ctype_test((c), SVN_CTYPE_SPACE)
 Check if c is an ASCII whitespace character. More...
 
#define svn_ctype_isdigit(c)   svn_ctype_test((c), SVN_CTYPE_DIGIT)
 Check if c is an ASCII digit. More...
 
#define svn_ctype_isupper(c)   svn_ctype_test((c), SVN_CTYPE_UPPER)
 Check if c is an ASCII uppercase letter. More...
 
#define svn_ctype_islower(c)   svn_ctype_test((c), SVN_CTYPE_LOWER)
 Check if c is an ASCII lowercase letter. More...
 
#define svn_ctype_ispunct(c)   svn_ctype_test((c), SVN_CTYPE_PUNCT)
 Check if c is an ASCII punctuation mark. More...
 
#define svn_ctype_isascii(c)   svn_ctype_test((c), SVN_CTYPE_ASCII)
 Check if c is an ASCII character. More...
 
#define svn_ctype_isalpha(c)   svn_ctype_test((c), SVN_CTYPE_ALPHA)
 Check if c is an ASCII letter. More...
 
#define svn_ctype_isalnum(c)   svn_ctype_test((c), SVN_CTYPE_ALNUM)
 Check if c is an ASCII letter or decimal digit. More...
 
#define svn_ctype_isxdigit(c)   svn_ctype_test((c), SVN_CTYPE_XDIGIT)
 Check if c is an ASCII hexadecimal digit. More...
 
#define svn_ctype_isgraph(c)   svn_ctype_test((c), SVN_CTYPE_GRAPH)
 Check if c is an ASCII graphical (visible printable) character. More...
 
#define svn_ctype_isprint(c)   svn_ctype_test((c), SVN_CTYPE_PRINT)
 Check if c is an ASCII printable character. More...
 

Detailed Description

Macro Definition Documentation

#define svn_ctype_isalnum (   c)    svn_ctype_test((c), SVN_CTYPE_ALNUM)

Check if c is an ASCII letter or decimal digit.

Definition at line 105 of file svn_ctype.h.

#define svn_ctype_isalpha (   c)    svn_ctype_test((c), SVN_CTYPE_ALPHA)

Check if c is an ASCII letter.

Definition at line 102 of file svn_ctype.h.

#define svn_ctype_isascii (   c)    svn_ctype_test((c), SVN_CTYPE_ASCII)

Check if c is an ASCII character.

Definition at line 99 of file svn_ctype.h.

#define svn_ctype_iscntrl (   c)    svn_ctype_test((c), SVN_CTYPE_CNTRL)

Check if c is an ASCII control character.

Definition at line 81 of file svn_ctype.h.

#define svn_ctype_isdigit (   c)    svn_ctype_test((c), SVN_CTYPE_DIGIT)

Check if c is an ASCII digit.

Definition at line 87 of file svn_ctype.h.

#define svn_ctype_isgraph (   c)    svn_ctype_test((c), SVN_CTYPE_GRAPH)

Check if c is an ASCII graphical (visible printable) character.

Definition at line 111 of file svn_ctype.h.

#define svn_ctype_islower (   c)    svn_ctype_test((c), SVN_CTYPE_LOWER)

Check if c is an ASCII lowercase letter.

Definition at line 93 of file svn_ctype.h.

#define svn_ctype_isprint (   c)    svn_ctype_test((c), SVN_CTYPE_PRINT)

Check if c is an ASCII printable character.

Definition at line 114 of file svn_ctype.h.

#define svn_ctype_ispunct (   c)    svn_ctype_test((c), SVN_CTYPE_PUNCT)

Check if c is an ASCII punctuation mark.

Definition at line 96 of file svn_ctype.h.

#define svn_ctype_isspace (   c)    svn_ctype_test((c), SVN_CTYPE_SPACE)

Check if c is an ASCII whitespace character.

Definition at line 84 of file svn_ctype.h.

#define svn_ctype_isupper (   c)    svn_ctype_test((c), SVN_CTYPE_UPPER)

Check if c is an ASCII uppercase letter.

Definition at line 90 of file svn_ctype.h.

#define svn_ctype_isxdigit (   c)    svn_ctype_test((c), SVN_CTYPE_XDIGIT)

Check if c is an ASCII hexadecimal digit.

Definition at line 108 of file svn_ctype.h.