I am writing a C / CGI web application. Is there a library for parsing a query string in a view GHashTable? I could write my own, but it seems you should not try to reinvent the wheel.
GHashTable
The library uriparsercan parse query strings into key-value pairs.
uriparser
If you really write C and the key set is known, you would be much better off storing the values in structinstead of some bloated hash table. Has a table static const:
struct
static const
offsetof
.
ap_getword Apache Portable Runtime (apr).
ap_getword *, , split() Perl. , , . Perl split(), , , ap_getword * . , , , , .
google "ap_getword(r->pool" "httpd.h" .
"ap_getword(r->pool" "httpd.h"