2006-07-06 04:07:11 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2006 Richard Wilson <info@tinct.net>
|
2007-08-08 20:16:03 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-07-06 04:07:11 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
* Content for directory listings (interface).
|
|
|
|
*
|
|
|
|
* These functions should in general be called via the content interface.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NETSURF_RENDER_DIRECTORY_H_
|
|
|
|
#define _NETSURF_RENDER_DIRECTORY_H_
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
2007-05-31 02:39:54 +04:00
|
|
|
#include "content/content_type.h"
|
2006-07-06 04:07:11 +04:00
|
|
|
|
2010-03-28 16:56:39 +04:00
|
|
|
struct http_parameter;
|
2006-07-06 04:07:11 +04:00
|
|
|
|
2010-03-28 16:56:39 +04:00
|
|
|
bool directory_create(struct content *c, const struct http_parameter *params);
|
2010-03-30 02:33:21 +04:00
|
|
|
bool directory_convert(struct content *c);
|
2007-03-29 02:56:54 +04:00
|
|
|
void directory_destroy(struct content *c);
|
2010-04-04 16:41:19 +04:00
|
|
|
bool directory_clone(const struct content *old, struct content *new_content);
|
2006-07-06 04:07:11 +04:00
|
|
|
|
|
|
|
#endif
|