const char* ocparamlookup(OCstate* state, const char* key) { const char* value = NULL; if(state == NULL || key == NULL || state->uri == NULL) return NULL; if(!ocurilookup(state->uri,key,&value)) value = NULL; return value; }
const char* ocparamlookup(OCstate* state, const char* key) { if(state == NULL || key == NULL || state->uri == NULL) return NULL; return ocurilookup(state->uri,key); }