diff options
author | Charles Krinke | 2009-05-13 01:58:17 +0000 |
---|---|---|
committer | Charles Krinke | 2009-05-13 01:58:17 +0000 |
commit | 94e2768cc7494abfd9be9d64209e1d42b2dfe76e (patch) | |
tree | 59798b55a4e046b3ff13089c26ccba9ee01408c0 | |
parent | Add interface, implementation stub and (diff) | |
download | opensim-SC_OLD-94e2768cc7494abfd9be9d64209e1d42b2dfe76e.zip opensim-SC_OLD-94e2768cc7494abfd9be9d64209e1d42b2dfe76e.tar.gz opensim-SC_OLD-94e2768cc7494abfd9be9d64209e1d42b2dfe76e.tar.bz2 opensim-SC_OLD-94e2768cc7494abfd9be9d64209e1d42b2dfe76e.tar.xz |
Add interface, stub implementation and
script stub for llGetHTTPHeader().
3 files changed, 14 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 862ff50..e2bdd59 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7646,6 +7646,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7646 | return DateTime.UtcNow.TimeOfDay.TotalSeconds; | 7646 | return DateTime.UtcNow.TimeOfDay.TotalSeconds; |
7647 | } | 7647 | } |
7648 | 7648 | ||
7649 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) | ||
7650 | { | ||
7651 | m_host.AddScriptLPS(1); | ||
7652 | NotImplemented("llGetHTTPHeader"); | ||
7653 | return String.Empty; | ||
7654 | } | ||
7655 | |||
7656 | |||
7649 | public LSL_String llGetSimulatorHostname() | 7657 | public LSL_String llGetSimulatorHostname() |
7650 | { | 7658 | { |
7651 | m_host.AddScriptLPS(1); | 7659 | 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 9ebc041..a575f87 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs | |||
@@ -123,6 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
123 | LSL_Integer llGetFreeURLs(); | 123 | LSL_Integer llGetFreeURLs(); |
124 | LSL_Vector llGetGeometricCenter(); | 124 | LSL_Vector llGetGeometricCenter(); |
125 | LSL_Float llGetGMTclock(); | 125 | LSL_Float llGetGMTclock(); |
126 | LSL_String llGetHTTPHeader(LSL_Key request_id, string header); | ||
126 | LSL_Key llGetInventoryCreator(string item); | 127 | LSL_Key llGetInventoryCreator(string item); |
127 | LSL_Key llGetInventoryKey(string name); | 128 | LSL_Key llGetInventoryKey(string name); |
128 | LSL_String llGetInventoryName(int type, int number); | 129 | LSL_String llGetInventoryName(int type, 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 202130e..8299087 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -474,6 +474,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
474 | return m_LSL_Functions.llGetGMTclock(); | 474 | return m_LSL_Functions.llGetGMTclock(); |
475 | } | 475 | } |
476 | 476 | ||
477 | public LSL_String llGetHTTPHeader(LSL_Key request_id, string header) | ||
478 | { | ||
479 | return m_LSL_Functions.llGetHTTPHeader(request_id, header); | ||
480 | } | ||
481 | |||
477 | public LSL_Key llGetInventoryCreator(string item) | 482 | public LSL_Key llGetInventoryCreator(string item) |
478 | { | 483 | { |
479 | return m_LSL_Functions.llGetInventoryCreator(item); | 484 | return m_LSL_Functions.llGetInventoryCreator(item); |