/*
* $Id: Cimwww.h,v 1.8 2008/12/12 00:52:00 tyreld Exp $
*
* CimWww.h
*
* (C) Copyright IBM Corp. 2002, 2008
*
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
* CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
*
* You can obtain a current copy of the Eclipse Public License from
* http://www.opensource.org/licenses/eclipse-1.0.php
*
* Author: Adrian Schuur <schuur@de.ibm.com>
* Contributors: Viktor Mihajlovski <mihajlov@de.ibm.com>
* Markus Mueller <markus_mueller@de.ibm.com>
* Steve Shepherd <steve.shepherd@configuresoft.com>
* Heidi Neumann <heidineu@de.ibm.com>
* David Eger <dteger@us.ibm.com>
*
* Description: Line command interface to DMTF conforming WBEM servers
*/
#ifndef CIMWWW_H
#define CIMWWW_H
#include "CimXml.h"
#include <WWWLib.h>
#include <WWWApp.h>
#include <WWWStream.h>
#include <WWWInit.h>
class CimomWww : public Cimom {
private:
HTParentAnchor *parent;
HTAnchor *anchor;
HTRequest *request;
HTChunk *chunk;
void genRequest(URL &, const char *, bool cls=false, bool keys=false);
void addPayload(const string &pl);
string getResponse();
string errorbuf;
public:
CimomWww();
~CimomWww();
void setClientCertificates(const char * cacert,
int noverify,
const char * clientcert,
const char * clientkey);
};
#endif /* CIMWWW_H */