2004-01-28 20:02:12 -05:00
|
|
|
/* Icecast
|
|
|
|
*
|
|
|
|
* This program is distributed under the GNU General Public License, version 2.
|
|
|
|
* A copy of this license is included with this source.
|
|
|
|
*
|
|
|
|
* Copyright 2000-2004, Jack Moffitt <jack@xiph.org,
|
|
|
|
* Michael Smith <msmith@xiph.org>,
|
|
|
|
* oddsock <oddsock@xiph.org>,
|
|
|
|
* Karl Heyes <karl@xiph.org>
|
|
|
|
* and others (see AUTHORS for details).
|
|
|
|
*/
|
|
|
|
|
2003-03-06 09:17:33 -05:00
|
|
|
#ifndef __ADMIN_H__
|
|
|
|
#define __ADMIN_H__
|
|
|
|
|
2007-08-11 14:26:44 -04:00
|
|
|
#include <libxml/parser.h>
|
|
|
|
#include <libxml/tree.h>
|
|
|
|
|
2003-03-06 09:17:33 -05:00
|
|
|
#include "refbuf.h"
|
|
|
|
#include "client.h"
|
|
|
|
|
2007-08-11 14:26:44 -04:00
|
|
|
#define RAW 1
|
|
|
|
#define TRANSFORMED 2
|
|
|
|
#define PLAINTEXT 3
|
|
|
|
|
2007-08-16 18:49:13 -04:00
|
|
|
void admin_handle_request(client_t *client, const char *uri);
|
2007-08-11 14:26:44 -04:00
|
|
|
void admin_send_response(xmlDocPtr doc, client_t *client,
|
|
|
|
int response, const char *xslt_template);
|
2003-03-06 09:17:33 -05:00
|
|
|
|
|
|
|
#endif /* __ADMIN_H__ */
|