aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorCharles Krinke2009-05-13 01:06:06 +0000
committerCharles Krinke2009-05-13 01:06:06 +0000
commitc23bd2d6eaffd05b158d92c539fa6c5090b967b2 (patch)
tree6b7884d95905fa4f5fe8bdba4a5c6cb719e617af /OpenSim/Region/ScriptEngine/Shared/Api
parentRemove some no longer needed debug. (diff)
downloadopensim-SC-c23bd2d6eaffd05b158d92c539fa6c5090b967b2.zip
opensim-SC-c23bd2d6eaffd05b158d92c539fa6c5090b967b2.tar.gz
opensim-SC-c23bd2d6eaffd05b158d92c539fa6c5090b967b2.tar.bz2
opensim-SC-c23bd2d6eaffd05b158d92c539fa6c5090b967b2.tar.xz
Add interface, stubbed implementation and
script stub for llRequestSecureURL().
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
-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, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4d368c2..2e93508 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7953,6 +7953,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7953// wComm.DeliverMessage(ChatTypeEnum.Owner, 0, m_host.Name, m_host.UUID, msg); 7953// wComm.DeliverMessage(ChatTypeEnum.Owner, 0, m_host.Name, m_host.UUID, msg);
7954 } 7954 }
7955 7955
7956 public LSL_String llRequestSecureURL();
7957 {
7958 m_host.AddScriptLPS(1);
7959 NotImplemented("llRequestSecureURL");
7960 return UUID.Zero.ToString();
7961 }
7962
7956 public LSL_String llRequestSimulatorData(string simulator, int data) 7963 public LSL_String llRequestSimulatorData(string simulator, int data)
7957 { 7964 {
7958 IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL"); 7965 IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL");
@@ -8029,7 +8036,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8029 public LSL_String llRequestURL() 8036 public LSL_String llRequestURL()
8030 { 8037 {
8031 m_host.AddScriptLPS(1); 8038 m_host.AddScriptLPS(1);
8032 NotImplemented("llRequestURLe"); 8039 NotImplemented("llRequestURL");
8033 return UUID.Zero.ToString(); 8040 return UUID.Zero.ToString();
8034 } 8041 }
8035 8042
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
index 732bde0..3ec9b3f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
@@ -273,6 +273,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
273 LSL_Key llRequestAgentData(string id, int data); 273 LSL_Key llRequestAgentData(string id, int data);
274 LSL_Key llRequestInventoryData(string name); 274 LSL_Key llRequestInventoryData(string name);
275 void llRequestPermissions(string agent, int perm); 275 void llRequestPermissions(string agent, int perm);
276 LSL_String llRequestSecureURL();
276 LSL_Key llRequestSimulatorData(string simulator, int data); 277 LSL_Key llRequestSimulatorData(string simulator, int data);
277 LSL_Key llRequestURL(); 278 LSL_Key llRequestURL();
278 void llResetLandBanList(); 279 void llResetLandBanList();
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index 8ee918e..c59636c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -1224,6 +1224,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
1224 m_LSL_Functions.llRequestPermissions(agent, perm); 1224 m_LSL_Functions.llRequestPermissions(agent, perm);
1225 } 1225 }
1226 1226
1227 public LSL_String llRequestSecureURL()
1228 {
1229 return m_LSL_Functions.llRequestSecureURL();
1230 }
1231
1227 public LSL_Key llRequestSimulatorData(string simulator, int data) 1232 public LSL_Key llRequestSimulatorData(string simulator, int data)
1228 { 1233 {
1229 return m_LSL_Functions.llRequestSimulatorData(simulator, data); 1234 return m_LSL_Functions.llRequestSimulatorData(simulator, data);