Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 9ae45b331b7ded315d6a8f2bfe06814e > files > 22

openvcpd-debug-0.3-0.rc2.3mdv2008.1.i586.rpm

/*  OpenVCP
 *  Copyright (C) 2006 Gerrit Wyen <gerrit@t4a.net>
 *
 *  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; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 




#ifndef REQUEST_H
	#define REQUEST_H

	#include "node.h"
	#include "set.h"
	#include "get.h"
	#include "traffic.h"
	#include "setup.h"
	#include "xml.h"
	

	struct ovcp_response_st *vserver_control_start(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_control_stop(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_list(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_setup_image(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_setup_config(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_traffic(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_traffic_total(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_traffic_hour(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_remove(struct ovcp_request_st *request);
	struct ovcp_response_st *vserver_resources_hour(struct ovcp_request_st *request);

	extern struct ovcp_method ovcp_vserver_methods[];
	extern struct ovcp_method ovcp_node_methods[];
	extern struct ovcp_method ovcp_setup_methods[];
#endif