/* ympd (c) 2013-2014 Andrew Karpow This project's homepage is: http://www.ympd.org This program 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. This program 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, write to the Free Software Foundation, Inc., Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __HTTP_SERVER_H__ #define __HTTP_SERVER_H__ #include "mongoose.h" struct embedded_file { const char *name; const unsigned char *data; const char *mimetype; size_t size; }; const struct embedded_file *find_embedded_file(const char *name); int callback_http(struct mg_connection *c); #endif