Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Copyright 2011 Vincent Sanders <vince@netsurf-browser.org>
  3.  *
  4.  * This file is part of NetSurf.
  5.  *
  6.  * NetSurf is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; version 2 of the License.
  9.  *
  10.  * NetSurf is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  */
  18.  
  19. /** \file
  20.  * resource: URL method handler.
  21.  *
  22.  * The resource fetcher is intended to provide a flat uniform URL
  23.  * space for browser local resources referenced by URL. Using this
  24.  * scheme each frontend is only required to provide a single entry
  25.  * point to locate resources which can be accessed by the standard URL
  26.  * type scheme.
  27.  *
  28.  */
  29.  
  30. #ifndef NETSURF_CONTENT_FETCHERS_FETCH_RESOURCE_H
  31. #define NETSURF_CONTENT_FETCHERS_FETCH_RESOURCE_H
  32.  
  33. /**
  34.  * Register the resource scheme.
  35.  *
  36.  * should only be called from the fetch initialise
  37.  */
  38. void fetch_resource_register(void);
  39.  
  40. #endif
  41.