#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "base.h"
#include "log.h"
#include "buffer.h"
#include "plugin.h"
#include "stat_cache.h"
#include "etag.h"
#include "http_chunk.h"
#include "response.h"
Include dependency graph for mod_staticfile.c:
Go to the source code of this file.
Data Structures | |
struct | plugin_config |
struct | plugin_data |
Defines | |
#define | PATCH(x) p->conf.x = s->x; |
Functions | |
INIT_FUNC (mod_staticfile_init) | |
FREE_FUNC (mod_staticfile_free) | |
SETDEFAULTS_FUNC (mod_staticfile_set_defaults) | |
static int | mod_staticfile_patch_connection (server *srv, connection *con, plugin_data *p) |
static int | http_response_parse_range (server *srv, connection *con, plugin_data *p) |
URIHANDLER_FUNC (mod_staticfile_subrequest) | |
int | mod_staticfile_plugin_init (plugin *p) |
FREE_FUNC | ( | mod_staticfile_free | ) |
Definition at line 64 of file mod_staticfile.c.
References plugin_data::config_storage, free(), plugin_data::range_buf, and s.
static int http_response_parse_range | ( | server * | srv, | |
connection * | con, | |||
plugin_data * | p | |||
) | [static] |
Definition at line 152 of file mod_staticfile.c.
References buffer, error(), plugin_data::range_buf, s, and start.
INIT_FUNC | ( | mod_staticfile_init | ) |
Definition at line 53 of file mod_staticfile.c.
static int mod_staticfile_patch_connection | ( | server * | srv, | |
connection * | con, | |||
plugin_data * | p | |||
) | [static] |
Definition at line 124 of file mod_staticfile.c.
References plugin_data::config_storage, PATCH, and s.
Referenced by URIHANDLER_FUNC().
int mod_staticfile_plugin_init | ( | plugin * | p | ) |
Definition at line 534 of file mod_staticfile.c.
SETDEFAULTS_FUNC | ( | mod_staticfile_set_defaults | ) |
URIHANDLER_FUNC | ( | mod_staticfile_subrequest | ) |
Definition at line 355 of file mod_staticfile.c.
References buffer, plugin_data::conf, plugin_config::exclude_ext, and mod_staticfile_patch_connection().