campo-sirio/include/isamrpc.h
guy a0d4f678d9 Patch level :
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Aggiunta chiamata rpc_DongleYearActivate per permettere l'aggiornamento automatico dell'assistenza sul server di chiavi.
Aggiunta possibilità di riferirsri ai campi del report nelle query delle sottosezioni


git-svn-id: svn://10.65.10.50/branches/R_10_00@21358 c028cbd2-c16b-5b4b-a496-9718f37d4682
2010-12-23 09:24:46 +00:00

36 lines
1.4 KiB
C
Executable File

#ifndef __ISAMRPC_H
#define __ISAMRPC_H
#ifndef __REAL_H
#include <real.h>
#endif
bool rpc_Call(const char* cmd);
char* rpc_Request(const char* cmd, unsigned long& size, real& time);
bool rpc_DongleHasModule(word af);
bool rpc_DongleModules(TBit_array& ba);
unsigned rpc_DongleNumber();
unsigned rpc_DongleYear();
bool rpc_DongleInfo(word& number, word& year, TBit_array& ba);
bool rpc_DongleYearActivate(word year);
bool rpc_DongleUsersActivate(word users);
bool rpc_DongleModuleActivate(word mod, bool on);
bool rpc_UserLogin(const char* server, const char* user,
const char* password, const char* application);
bool rpc_UserLogout(const char* appname);
bool rpc_Start();
bool rpc_Stop();
bool http_isredirected_server(TString & server, TFilename & remote_file, const char* authorization = NULL);
bool http_get(const char* server, const char* remote_file,
const char* local_file, const char* authorization = NULL);
bool http_dir(const char* server, const char* remote_dir, TString_array & list);
bool http_post(const char* server, const char* remote_file,
const char* local_file, const char* authorization,
byte*& answer, size_t& length);
#endif