Lines Matching refs:url
32 #include <isc/url.h>
78 * provide the data for it. We pass in the base url (so the same function
84 char *url;
295 isc_httpdurl_t *url, *next;
296 ISC_LIST_FOREACH_SAFE (httpdmgr->urls, url, link, next) {
297 isc_mem_free(httpdmgr->mctx, url->url);
298 ISC_LIST_UNLINK(httpdmgr->urls, url, link);
299 isc_mem_put(httpdmgr->mctx, url, sizeof(isc_httpdurl_t));
772 isc_httpdurl_t *url = NULL;
786 ISC_LIST_FOREACH (mgr->urls, url, link) {
787 if (strncmp(path, url->url, path_len) == 0) {
793 if (url == NULL) {
799 result = url->action(httpd, url, url->action_arg, &req->retcode,
805 result = mgr->render_500(httpd, url, NULL, &req->retcode,
832 if (url != NULL && url->isstatic) {
834 isc_time_formathttptimestamp(&url->loadtime, loadbuf,
1072 isc_httpdmgr_addurl(isc_httpdmgr_t *httpdmgr, const char *url, bool isstatic,
1078 if (url == NULL) {
1085 item->url = isc_mem_strdup(httpdmgr->mctx, url);
1111 isc_httpdurl_isstatic(const isc_httpdurl_t *url) {
1112 return url->isstatic;
1116 isc_httpdurl_loadtime(const isc_httpdurl_t *url) {
1117 return &url->loadtime;