38 lines
732 B
C++

//----------------------------------------------------------------------------
//
// Copyright (C) 2009 Intel Corporation
//
// File: MPSSoapServer.h
//
// Contents: This class implements SOAP server.
//
//----------------------------------------------------------------------------
#ifndef _MPS_SOAPSERVER__H__
#define _MPS_SOAPSERVER__H__
#include "soapH.h"
#define DIGEST_AUTH // Allow digest authentication.
class MPSSoapServer
{
public:
MPSSoapServer (); // Ctor.
~MPSSoapServer (); // Dtor.
bool RunServer (SOAP_SOCKET handle ); //Receive and send data on socket handle
private:
// Data members
struct soap *m_soap; // Pointer to soap runtime environment
};
#endif //_MPS_SOAPSERVER__H__