1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-10 16:19:54 +00:00
ympd/src/http_server.h

36 lines
1.1 KiB
C
Raw Normal View History

2014-01-17 18:41:41 +00:00
/* ympd
(c) 2013-2014 Andrew Karpow <andy@ndyk.de>
2014-01-17 18:41:41 +00:00
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.
2014-01-17 18:41:41 +00:00
*/
#ifndef __HTTP_SERVER_H__
#define __HTTP_SERVER_H__
2014-02-16 18:46:53 +00:00
#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);
2014-02-16 18:46:53 +00:00
int callback_http(struct mg_connection *c);
2013-11-09 01:07:03 +00:00
#endif