#include int main (int argc, char *argv[]) { UriParserStateA state; UriUriA uri; char *uriS = NULL; state.uri = &uri; if (uriParseUriA (&state, uriS) != URI_SUCCESS) { /* Failure */ uriFreeUriMembersA (&uri); } return 0; }