aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCharles Krinke2009-05-13 00:29:50 +0000
committerCharles Krinke2009-05-13 00:29:50 +0000
commitba99f2a1a5bf24f3682ec889eeccf9cd02e37105 (patch)
treec6636b760ff3eb7ca5cab1660ccb1b18bcd6011d
parentFix interface registration/deregistration mechanics (diff)
downloadopensim-SC_OLD-ba99f2a1a5bf24f3682ec889eeccf9cd02e37105.zip
opensim-SC_OLD-ba99f2a1a5bf24f3682ec889eeccf9cd02e37105.tar.gz
opensim-SC_OLD-ba99f2a1a5bf24f3682ec889eeccf9cd02e37105.tar.bz2
opensim-SC_OLD-ba99f2a1a5bf24f3682ec889eeccf9cd02e37105.tar.xz
Add interface, stub and bare implmentation for llHTTPResponse().
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs10
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs5
3 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 8102b2f..859aec7 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8878,6 +8878,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8878 return null; 8878 return null;
8879 } 8879 }
8880 8880
8881
8882 public void llHTTPResponse(string url, int status, string body)
8883 {
8884 // Partial implementation: support for parameter flags needed
8885 // see http://wiki.secondlife.com/wiki/llHTTPResponse
8886
8887 m_host.AddScriptLPS(1);
8888 NotImplemented("llHTTPResponse");
8889 }
8890
8881 public void llResetLandBanList() 8891 public void llResetLandBanList()
8882 { 8892 {
8883 m_host.AddScriptLPS(1); 8893 m_host.AddScriptLPS(1);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
index d314572..ac527c6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
@@ -199,6 +199,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
199 void llGroundRepel(double height, int water, double tau); 199 void llGroundRepel(double height, int water, double tau);
200 LSL_Vector llGroundSlope(LSL_Vector offset); 200 LSL_Vector llGroundSlope(LSL_Vector offset);
201 LSL_String llHTTPRequest(string url, LSL_List parameters, string body); 201 LSL_String llHTTPRequest(string url, LSL_List parameters, string body);
202 void llHTTPResponse(string url, int status, string body);
202 LSL_String llInsertString(string dst, int position, string src); 203 LSL_String llInsertString(string dst, int position, string src);
203 void llInstantMessage(string user, string message); 204 void llInstantMessage(string user, string message);
204 LSL_String llIntegerToBase64(int number); 205 LSL_String llIntegerToBase64(int number);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index e4cfedb..945932e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -854,6 +854,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
854 return m_LSL_Functions.llHTTPRequest(url, parameters, body); 854 return m_LSL_Functions.llHTTPRequest(url, parameters, body);
855 } 855 }
856 856
857 public void llHTTPResponse(string url, int status, string body)
858 {
859 m_LSL_Functions.llHTTPResponse(url, status, body);
860 }
861
857 public LSL_String llInsertString(string dst, int position, string src) 862 public LSL_String llInsertString(string dst, int position, string src)
858 { 863 {
859 return m_LSL_Functions.llInsertString(dst, position, src); 864 return m_LSL_Functions.llInsertString(dst, position, src);