diff --git a/include/isamrpc.cpp b/include/isamrpc.cpp index c48b6da8c..3111db3f6 100755 --- a/include/isamrpc.cpp +++ b/include/isamrpc.cpp @@ -193,6 +193,12 @@ unsigned rpc_DongleNumber() return (unsigned)IntCall(); } +unsigned rpc_DongleYear() +{ + _rpc_call = "DongleYear()"; + return (unsigned)IntCall(); +} + bool rpc_UserLogin(const char* server, const char* user, const char* password, const char* application) { diff --git a/include/isamrpc.h b/include/isamrpc.h index 5e7b21c18..0de4418dc 100755 --- a/include/isamrpc.h +++ b/include/isamrpc.h @@ -11,6 +11,7 @@ char* rpc_Request(const char* cmd, unsigned long& size, real& time); bool rpc_DongleHasModule(word af); bool rpc_DongleModules(word* int_tab0); word rpc_DongleNumber(); +word rpc_DongleYear(); bool rpc_UserLogin(const char* server, const char* user, const char* password, const char* application);