Add macros for checking character classes. Eg, soup_char_is_token()
authorDan Winship <danw@gnome.org>
Tue, 6 Apr 2010 15:56:04 +0000 (11:56 -0400)
committerDan Winship <danw@gnome.org>
Fri, 9 Apr 2010 23:51:33 +0000 (19:51 -0400)
commit6ce2bb5d1e4dfc1429567cc6d2b5232f421af2b3
treeee48fb7fc93af32368ff0a71c7851276bf24f4ba
parent50e363db0243cd94acd45e67f93983312a90eb1c
Add macros for checking character classes. Eg, soup_char_is_token()

Move the existing URI character class table from soup-uri.c to
soup-misc.c, and update for that. Also add soup_char_is_token(), to
determine if a character can be used in a token or not.
libsoup/soup-misc.c
libsoup/soup-misc.h
libsoup/soup-uri.c