Sha256: bfdee4f599ccbf385195f3e1bf09d068e39411fd4017c77ac6e507ec768c4e4d
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 KB
Contents
/* WebROaR - Ruby Application Server - http://webroar.in/ * Copyright (C) 2009 Goonj LLC * * This file is part of WebROaR. * * WebROaR 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, either version 3 of the License, or * (at your option) any later version. * * WebROaR 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 WebROaR. If not, see <http://www.gnu.org/licenses/>. */ #ifndef WKR_STATIC_H_ #define WKR_STATIC_H_ #include <wkr_http.h> typedef struct static_file_s{ char ext[10]; char mime_type[50]; long int expires; struct static_file_s *next; }static_file_t; /* Initialize extension and mime-type map */ int static_module_init(char *root_path); /* Free extension and mime-type map */ void static_module_free(); /* Serve the static file content */ void static_file_process(http_t *h); #endif /*WKR_STATIC_H_*/
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webroar-0.3.1 | src/worker/wkr_static.h |
webroar-0.3.0 | src/worker/wkr_static.h |
webroar-0.2.6 | src/worker/wkr_static.h |