Sha256: 281d9694d35d56681cf05ce4bf552e75de02854c769d5c753ee33cf83e089de0
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 */ int static_file_process(http_t *h); #endif /*WKR_STATIC_H_*/
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webroar-0.2.5 | src/worker/wkr_static.h |
webroar-0.2.4 | src/worker/wkr_static.h |
webroar-0.2.3 | src/worker/wkr_static.h |