]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp
Fixed installation path for rlm_stg project.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / messages_methods.cpp
index 281041e75767cad92690ef2228422eda0edf5ae9..e6a4df6f0773bb6cfd9d423da1431b76e3f7bf01 100644 (file)
@@ -1,8 +1,11 @@
-#include "messages_methods.h"
+#include <ostream> // xmlrpc-c devs have missed something :)
 
 
+#include "stg/message.h"
+#include "stg/common.h"
+#include "messages_methods.h"
 #include "rpcconfig.h"
 #include "rpcconfig.h"
-#include "stg_message.h"
-#include "utils.h"
+
+extern const volatile time_t stgTime;
 
 //------------------------------------------------------------------------------
 
 
 //------------------------------------------------------------------------------
 
@@ -78,7 +81,7 @@ message.header.lastSendTime = 0;
 std::vector<xmlrpc_c::value>::iterator lit;
 for (lit = logins.begin(); lit != logins.end(); ++lit)
     {
 std::vector<xmlrpc_c::value>::iterator lit;
 for (lit = logins.begin(); lit != logins.end(); ++lit)
     {
-    user_iter ui;
+    USER_PTR ui;
     if (users->FindByName(xmlrpc_c::value_string(*lit), &ui))
         {
         printfd(__FILE__, "METHOD_MESSAGE_SEND::execute(): 'User '%s' not found'\n", std::string(xmlrpc_c::value_string(*lit)).c_str());
     if (users->FindByName(xmlrpc_c::value_string(*lit), &ui))
         {
         printfd(__FILE__, "METHOD_MESSAGE_SEND::execute(): 'User '%s' not found'\n", std::string(xmlrpc_c::value_string(*lit)).c_str());