1997-06-03 13:54:55 +00:00
|
|
|
#ifndef __ISAMRPC_H
|
|
|
|
#define __ISAMRPC_H
|
|
|
|
|
1998-02-13 13:50:39 +00:00
|
|
|
#ifndef __ARRAY_H
|
|
|
|
#include <array.h>
|
|
|
|
#endif
|
|
|
|
|
1997-06-03 13:54:55 +00:00
|
|
|
#ifndef __REAL_H
|
|
|
|
#include <real.h>
|
|
|
|
#endif
|
|
|
|
|
2003-02-25 14:39:02 +00:00
|
|
|
bool rpc_Call(const char* cmd);
|
|
|
|
char* rpc_Request(const char* cmd, unsigned long& size, real& time);
|
1997-06-03 13:54:55 +00:00
|
|
|
|
|
|
|
bool rpc_DongleHasModule(word af);
|
1998-02-13 13:50:39 +00:00
|
|
|
bool rpc_DongleModules(TBit_array& ba);
|
1998-03-05 13:54:51 +00:00
|
|
|
unsigned rpc_DongleNumber();
|
|
|
|
unsigned rpc_DongleYear();
|
1997-06-03 13:54:55 +00:00
|
|
|
|
|
|
|
bool rpc_UserLogin(const char* server, const char* user,
|
|
|
|
const char* password, const char* application);
|
2005-05-16 23:44:23 +00:00
|
|
|
bool rpc_UserLogout(const char* appname);
|
1997-06-03 13:54:55 +00:00
|
|
|
|
|
|
|
bool rpc_Start();
|
|
|
|
bool rpc_Stop();
|
|
|
|
|
2007-03-06 16:37:44 +00:00
|
|
|
bool http_isredirected_server(TString & server, TFilename & remote_file, const char* authorization = NULL);
|
2003-04-22 15:06:36 +00:00
|
|
|
bool http_get(const char* server, const char* remote_file,
|
|
|
|
const char* local_file, const char* authorization = NULL);
|
1998-11-04 18:04:26 +00:00
|
|
|
bool http_dir(const char* server, const char* remote_dir, TString_array & list);
|
2003-02-25 14:39:02 +00:00
|
|
|
bool http_post(const char* server, const char* remote_file,
|
2003-04-22 15:06:36 +00:00
|
|
|
const char* local_file, const char* authorization,
|
|
|
|
byte*& answer, size_t& length);
|
1998-08-20 14:49:34 +00:00
|
|
|
|
2003-05-05 14:32:23 +00:00
|
|
|
|
2004-03-12 16:01:27 +00:00
|
|
|
#endif
|