Logo Search packages:      
Sourcecode: sblim-wbemcli version File versions  Download package

Cimghttp.h

/*
 * CimGhttp.h
 *
 * (C) Copyright IBM Corp. 2002
 * 
 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON 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 Common Public License from
 * http://oss.software.ibm.com/developerworks/opensource/license-cpl.html
 *
 * 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 CIMGHTTP_H
#define CIMGHTTP_H

#include "CimXml.h"
#include <ghttp.h>

class CimomGhttp : public Cimom {
  private:
   ghttp_request *request;
   void genRequest(URL &url, char *op, bool cls=false, bool keys=false);
   void addPayload(const string& pl);
   string getResponse();
  public:
   CimomGhttp();
   ~CimomGhttp() { if (newstr) free(newstr); }
   void setClientCertificates(const char * cacert,
                        int noverify,
                        const char * clientcert,
                        const char * clientkey);
};

#endif      /* CIMGHTTP_H */

Generated by  Doxygen 1.6.0   Back to index