Commit 4469e089 authored by claes's avatar claes

New Status Server

parent 689c8d9e
#include "statussrv_H.h"
SOAP_NMAC struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
include $(pwre_dir_symbols)
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_sroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
ifndef link_rule_mk
link_rule_mk := 1
link = $(ldxx) $(linkflags) $(domap) -o $(export_exe) \
$(export_obj) $(objects) $(rt_msg_objs) $(pwr_obj)/stdsoap2.o\
-lpwr_statussrv -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrpcsvc -lpthread -lm -lrt
endif
This diff is collapsed.
#include "statussrv_H.h"
SOAP_NMAC struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
include $(pwre_dir_symbols)
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/$(type_name)_generic.mk
ifeq ($($(type_name)_generic_mk),)
-include $(pwre_sroot)/tools/bld/src/$(os_name)/$(type_name)_generic.mk
endif
ifeq ($($(type_name)_generic_mk),)
include $(pwre_sroot)/tools/bld/src/$(type_name)_generic.mk
endif
-include ../../special.mk
-include ../special.mk
-include special.mk
Soap interface and XML parser generated by gsoap with the commands
typemap.dat :
s0 = "http://www.proview.se/webservices/statussrv/1.0/"
../gsoap-linux-2.7/bin/wsdl2h -o statussrv_msg.h statussrv.wsdl -p
../gsoap-linux-2.7/bin/soapcpp2 statussrv_msg.h -I ../gsoap-linux-2.7/import -p statussrv_
Copy Sevice.nsmap to exe/rt_statussrv/src/
This diff is collapsed.
/* statussrv_Client.cpp
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP("@(#) statussrv_Client.cpp ver 2.7.9d 2007-05-10 13:32:13 GMT")
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__GetStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__GetStatus *s0__GetStatus, _s0__GetStatusResponse *s0__GetStatusResponse)
{ struct __s0__GetStatus soap_tmp___s0__GetStatus;
if (!soap_action)
soap_action = "s0:GetStatus";
soap->encodingStyle = NULL;
soap_tmp___s0__GetStatus.s0__GetStatus = s0__GetStatus;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__GetStatus(soap, &soap_tmp___s0__GetStatus);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetStatus(soap, &soap_tmp___s0__GetStatus, "-s0:GetStatus", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetStatus(soap, &soap_tmp___s0__GetStatus, "-s0:GetStatus", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__GetStatusResponse)
return soap_closesock(soap);
s0__GetStatusResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
s0__GetStatusResponse->soap_get(soap, "s0:GetStatusResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__GetExtStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__GetExtStatus *s0__GetExtStatus, _s0__GetExtStatusResponse *s0__GetExtStatusResponse)
{ struct __s0__GetExtStatus soap_tmp___s0__GetExtStatus;
if (!soap_action)
soap_action = "s0:GetExtStatus";
soap->encodingStyle = NULL;
soap_tmp___s0__GetExtStatus.s0__GetExtStatus = s0__GetExtStatus;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__GetExtStatus(soap, &soap_tmp___s0__GetExtStatus);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetExtStatus(soap, &soap_tmp___s0__GetExtStatus, "-s0:GetExtStatus", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__GetExtStatus(soap, &soap_tmp___s0__GetExtStatus, "-s0:GetExtStatus", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__GetExtStatusResponse)
return soap_closesock(soap);
s0__GetExtStatusResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
s0__GetExtStatusResponse->soap_get(soap, "s0:GetExtStatusResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_call___s0__Restart(struct soap *soap, const char *soap_endpoint, const char *soap_action, _s0__Restart *s0__Restart, _s0__RestartResponse *s0__RestartResponse)
{ struct __s0__Restart soap_tmp___s0__Restart;
if (!soap_action)
soap_action = "s0:Restart";
soap->encodingStyle = NULL;
soap_tmp___s0__Restart.s0__Restart = s0__Restart;
soap_begin(soap);
soap_serializeheader(soap);
soap_serialize___s0__Restart(soap, &soap_tmp___s0__Restart);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__Restart(soap, &soap_tmp___s0__Restart, "-s0:Restart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put___s0__Restart(soap, &soap_tmp___s0__Restart, "-s0:Restart", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap_closesock(soap);
if (!s0__RestartResponse)
return soap_closesock(soap);
s0__RestartResponse->soap_default(soap);
if (soap_begin_recv(soap)
|| soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap))
return soap_closesock(soap);
s0__RestartResponse->soap_get(soap, "s0:RestartResponse", "");
if (soap->error)
{ if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
return soap_recv_fault(soap);
return soap_closesock(soap);
}
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap_closesock(soap);
return soap_closesock(soap);
}
/* End of statussrv_Client.cpp */
This diff is collapsed.
/* statussrv_Server.cpp
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "statussrv_H.h"
SOAP_SOURCE_STAMP("@(#) statussrv_Server.cpp ver 2.7.9d 2007-05-10 13:32:13 GMT")
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
{
#ifndef WITH_FASTCGI
unsigned int k = soap->max_keep_alive;
#endif
do
{
#ifdef WITH_FASTCGI
if (FCGI_Accept() < 0)
{
soap->error = SOAP_EOF;
return soap_send_fault(soap);
}
#endif
soap_begin(soap);
#ifndef WITH_FASTCGI
if (soap->max_keep_alive > 0 && !--k)
soap->keep_alive = 0;
#endif
if (soap_begin_recv(soap))
{ if (soap->error < SOAP_STOP)
{
#ifdef WITH_FASTCGI
soap_send_fault(soap);
#else
return soap_send_fault(soap);
#endif
}
soap_closesock(soap);
continue;
}
if (soap_envelope_begin_in(soap)
|| soap_recv_header(soap)
|| soap_body_begin_in(soap)
|| soap_serve_request(soap)
|| (soap->fserveloop && soap->fserveloop(soap)))
{
#ifdef WITH_FASTCGI
soap_send_fault(soap);
#else
return soap_send_fault(soap);
#endif
}
#ifdef WITH_FASTCGI
} while (1);
#else
} while (soap->keep_alive);
#endif
return SOAP_OK;
}
#ifndef WITH_NOSERVEREQUEST
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
{
soap_peek_element(soap);
if (!soap_match_tag(soap, soap->tag, "s0:GetStatus"))
return soap_serve___s0__GetStatus(soap);
if (!soap_match_tag(soap, soap->tag, "s0:GetExtStatus"))
return soap_serve___s0__GetExtStatus(soap);
if (!soap_match_tag(soap, soap->tag, "s0:Restart"))
return soap_serve___s0__Restart(soap);
return soap->error = SOAP_NO_METHOD;
}
#endif
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__GetStatus(struct soap *soap)
{ struct __s0__GetStatus soap_tmp___s0__GetStatus;
_s0__GetStatusResponse s0__GetStatusResponse;
s0__GetStatusResponse.soap_default(soap);
soap_default___s0__GetStatus(soap, &soap_tmp___s0__GetStatus);
soap->encodingStyle = NULL;
if (!soap_get___s0__GetStatus(soap, &soap_tmp___s0__GetStatus, "-s0:GetStatus", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __s0__GetStatus(soap, soap_tmp___s0__GetStatus.s0__GetStatus, &s0__GetStatusResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
s0__GetStatusResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__GetStatusResponse.soap_put(soap, "s0:GetStatusResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__GetStatusResponse.soap_put(soap, "s0:GetStatusResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__GetExtStatus(struct soap *soap)
{ struct __s0__GetExtStatus soap_tmp___s0__GetExtStatus;
_s0__GetExtStatusResponse s0__GetExtStatusResponse;
s0__GetExtStatusResponse.soap_default(soap);
soap_default___s0__GetExtStatus(soap, &soap_tmp___s0__GetExtStatus);
soap->encodingStyle = NULL;
if (!soap_get___s0__GetExtStatus(soap, &soap_tmp___s0__GetExtStatus, "-s0:GetExtStatus", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __s0__GetExtStatus(soap, soap_tmp___s0__GetExtStatus.s0__GetExtStatus, &s0__GetExtStatusResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
s0__GetExtStatusResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__GetExtStatusResponse.soap_put(soap, "s0:GetExtStatusResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__GetExtStatusResponse.soap_put(soap, "s0:GetExtStatusResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_serve___s0__Restart(struct soap *soap)
{ struct __s0__Restart soap_tmp___s0__Restart;
_s0__RestartResponse s0__RestartResponse;
s0__RestartResponse.soap_default(soap);
soap_default___s0__Restart(soap, &soap_tmp___s0__Restart);
soap->encodingStyle = NULL;
if (!soap_get___s0__Restart(soap, &soap_tmp___s0__Restart, "-s0:Restart", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __s0__Restart(soap, soap_tmp___s0__Restart.s0__Restart, &s0__RestartResponse);
if (soap->error)
return soap->error;
soap_serializeheader(soap);
s0__RestartResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__RestartResponse.soap_put(soap, "s0:RestartResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| s0__RestartResponse.soap_put(soap, "s0:RestartResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
/* End of statussrv_Server.cpp */
/* statussrv_ServiceObject.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_Service_H
#define statussrv_Service_H
#include "statussrv_H.h"
/******************************************************************************\
* *
* Service Object *
* *
\******************************************************************************/
class Service : public soap
{ public:
Service()
{ static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap_init(this); if (!this->namespaces) this->namespaces = namespaces; };
virtual ~Service() { soap_destroy(this); soap_end(this); soap_done(this); };
virtual int bind(const char *host, int port, int backlog) { return soap_bind(this, host, port, backlog); };
virtual int accept() { return soap_accept(this); };
virtual int serve() { return soap_serve(this); };
};
/******************************************************************************\
* *
* Service Operations (you should define these) *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 __s0__GetStatus(struct soap*, _s0__GetStatus *s0__GetStatus, _s0__GetStatusResponse *s0__GetStatusResponse);
SOAP_FMAC5 int SOAP_FMAC6 __s0__GetExtStatus(struct soap*, _s0__GetExtStatus *s0__GetExtStatus, _s0__GetExtStatusResponse *s0__GetExtStatusResponse);
SOAP_FMAC5 int SOAP_FMAC6 __s0__Restart(struct soap*, _s0__Restart *s0__Restart, _s0__RestartResponse *s0__RestartResponse);
#endif
/* statussrv_ServiceProxy.h
Generated by gSOAP 2.7.9d from statussrv_msg.h
Copyright(C) 2000-2006, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef statussrv_Service_H
#define statussrv_Service_H
#include "statussrv_H.h"
class Service
{ public:
struct soap *soap;
const char *endpoint;
Service()
{ soap = soap_new(); endpoint = "http://localhost:80"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
{"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"s0", "http://www.proview.se/webservices/statussrv/1.0/", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
soap->namespaces = namespaces; } };
virtual ~Service() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } };
virtual int __s0__GetStatus(_s0__GetStatus *s0__GetStatus, _s0__GetStatusResponse *s0__GetStatusResponse) { return soap ? soap_call___s0__GetStatus(soap, endpoint, NULL, s0__GetStatus, s0__GetStatusResponse) : SOAP_EOM; };
virtual int __s0__GetExtStatus(_s0__GetExtStatus *s0__GetExtStatus, _s0__GetExtStatusResponse *s0__GetExtStatusResponse) { return soap ? soap_call___s0__GetExtStatus(soap, endpoint, NULL, s0__GetExtStatus, s0__GetExtStatusResponse) : SOAP_EOM; };
virtual int __s0__Restart(_s0__Restart *s0__Restart, _s0__RestartResponse *s0__RestartResponse) { return soap ? soap_call___s0__Restart(soap, endpoint, NULL, s0__Restart, s0__RestartResponse) : SOAP_EOM; };
};
#endif
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/**
* Proview $Id: statussrv_utl.h,v 1.1 2007-05-11 14:59:19 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB.
*
* 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 the program, if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
#ifndef statussrv_utl_h
#define statussrv_utl_h
#ifndef pwr_h
# include "pwr.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
char Version[20];
pwr_tStatus SystemStatus;
char SystemStatusStr[120];
pwr_tString80 Description;
pwr_tTime SystemTime;
pwr_tTime BootTime;
pwr_tTime RestartTime;
int Restarts;
} statussrv_sGetStatus;
typedef struct {
pwr_tStatus ServerSts[20];
char ServerStsStr[20][120];
char ServerStsName[20][80];
pwr_tStatus ApplSts[20];
char ApplStsStr[20][120];
char ApplStsName[20][80];
} statussrv_sGetExtStatus;
pwr_tStatus statussrv_GetStatus( char *nodename, statussrv_sGetStatus *result);
pwr_tStatus statussrv_GetExtStatus( char *nodename, statussrv_sGetExtStatus *result);
#ifdef __cplusplus
}
#endif
#endif
s0 = "http://www.proview.se/webservices/statussrv/1.0/"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment