Add interface, stub implementation and

script stub for llGetHTTPHeader().
0.6.5-rc1
Charles Krinke 2009-05-13 01:58:17 +00:00
parent 6257bb8b09
commit 94e2768cc7
3 changed files with 14 additions and 0 deletions

View File

@ -7646,6 +7646,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return DateTime.UtcNow.TimeOfDay.TotalSeconds;
}
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
{
m_host.AddScriptLPS(1);
NotImplemented("llGetHTTPHeader");
return String.Empty;
}
public LSL_String llGetSimulatorHostname()
{
m_host.AddScriptLPS(1);

View File

@ -123,6 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_Integer llGetFreeURLs();
LSL_Vector llGetGeometricCenter();
LSL_Float llGetGMTclock();
LSL_String llGetHTTPHeader(LSL_Key request_id, string header);
LSL_Key llGetInventoryCreator(string item);
LSL_Key llGetInventoryKey(string name);
LSL_String llGetInventoryName(int type, int number);

View File

@ -474,6 +474,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_LSL_Functions.llGetGMTclock();
}
public LSL_String llGetHTTPHeader(LSL_Key request_id, string header)
{
return m_LSL_Functions.llGetHTTPHeader(request_id, header);
}
public LSL_Key llGetInventoryCreator(string item)
{
return m_LSL_Functions.llGetInventoryCreator(item);