diff options
author | Kevin Cozens | 2013-03-27 11:52:10 -0400 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-29 23:35:12 +0000 |
commit | 8b1ca7b35e8e5bb65666fb566c0e797aaa999a4e (patch) | |
tree | 466198acc081c32b726ffdc70f7bac800b5da86a /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |
parent | Change 0.7.5 flavour to post-fixes (diff) | |
download | opensim-SC_OLD-8b1ca7b35e8e5bb65666fb566c0e797aaa999a4e.zip opensim-SC_OLD-8b1ca7b35e8e5bb65666fb566c0e797aaa999a4e.tar.gz opensim-SC_OLD-8b1ca7b35e8e5bb65666fb566c0e797aaa999a4e.tar.bz2 opensim-SC_OLD-8b1ca7b35e8e5bb65666fb566c0e797aaa999a4e.tar.xz |
Added missing functionality (mainly custom headers) to llHTTPRequest.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 9bf1a64..86ab03a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -355,6 +355,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
355 | public const int HTTP_MIMETYPE = 1; | 355 | public const int HTTP_MIMETYPE = 1; |
356 | public const int HTTP_BODY_MAXLENGTH = 2; | 356 | public const int HTTP_BODY_MAXLENGTH = 2; |
357 | public const int HTTP_VERIFY_CERT = 3; | 357 | public const int HTTP_VERIFY_CERT = 3; |
358 | public const int HTTP_VERBOSE_THROTTLE = 4; | ||
359 | public const int HTTP_CUSTOM_HEADER = 5; | ||
360 | public const int HTTP_PRAGMA_NO_CACHE = 6; | ||
358 | 361 | ||
359 | public const int PRIM_MATERIAL = 2; | 362 | public const int PRIM_MATERIAL = 2; |
360 | public const int PRIM_PHYSICS = 3; | 363 | public const int PRIM_PHYSICS = 3; |
@@ -635,7 +638,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
635 | public const int TOUCH_INVALID_FACE = -1; | 638 | public const int TOUCH_INVALID_FACE = -1; |
636 | public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0); | 639 | public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0); |
637 | public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR; | 640 | public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR; |
638 | 641 | ||
639 | // constants for llGetPrimMediaParams/llSetPrimMediaParams | 642 | // constants for llGetPrimMediaParams/llSetPrimMediaParams |
640 | public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0; | 643 | public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0; |
641 | public const int PRIM_MEDIA_CONTROLS = 1; | 644 | public const int PRIM_MEDIA_CONTROLS = 1; |
@@ -652,15 +655,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
652 | public const int PRIM_MEDIA_WHITELIST = 12; | 655 | public const int PRIM_MEDIA_WHITELIST = 12; |
653 | public const int PRIM_MEDIA_PERMS_INTERACT = 13; | 656 | public const int PRIM_MEDIA_PERMS_INTERACT = 13; |
654 | public const int PRIM_MEDIA_PERMS_CONTROL = 14; | 657 | public const int PRIM_MEDIA_PERMS_CONTROL = 14; |
655 | 658 | ||
656 | public const int PRIM_MEDIA_CONTROLS_STANDARD = 0; | 659 | public const int PRIM_MEDIA_CONTROLS_STANDARD = 0; |
657 | public const int PRIM_MEDIA_CONTROLS_MINI = 1; | 660 | public const int PRIM_MEDIA_CONTROLS_MINI = 1; |
658 | 661 | ||
659 | public const int PRIM_MEDIA_PERM_NONE = 0; | 662 | public const int PRIM_MEDIA_PERM_NONE = 0; |
660 | public const int PRIM_MEDIA_PERM_OWNER = 1; | 663 | public const int PRIM_MEDIA_PERM_OWNER = 1; |
661 | public const int PRIM_MEDIA_PERM_GROUP = 2; | 664 | public const int PRIM_MEDIA_PERM_GROUP = 2; |
662 | public const int PRIM_MEDIA_PERM_ANYONE = 4; | 665 | public const int PRIM_MEDIA_PERM_ANYONE = 4; |
663 | 666 | ||
664 | // extra constants for llSetPrimMediaParams | 667 | // extra constants for llSetPrimMediaParams |
665 | public static readonly LSLInteger LSL_STATUS_OK = new LSLInteger(0); | 668 | public static readonly LSLInteger LSL_STATUS_OK = new LSLInteger(0); |
666 | public static readonly LSLInteger LSL_STATUS_MALFORMED_PARAMS = new LSLInteger(1000); | 669 | public static readonly LSLInteger LSL_STATUS_MALFORMED_PARAMS = new LSLInteger(1000); |
@@ -677,7 +680,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
677 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; | 680 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; |
678 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; | 681 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; |
679 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; | 682 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; |
680 | 683 | ||
681 | // Constants for osGetRegionStats | 684 | // Constants for osGetRegionStats |
682 | public const int STATS_TIME_DILATION = 0; | 685 | public const int STATS_TIME_DILATION = 0; |
683 | public const int STATS_SIM_FPS = 1; | 686 | public const int STATS_SIM_FPS = 1; |
@@ -730,7 +733,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
730 | public static readonly LSLInteger RC_GET_ROOT_KEY = 2; | 733 | public static readonly LSLInteger RC_GET_ROOT_KEY = 2; |
731 | public static readonly LSLInteger RC_GET_LINK_NUM = 4; | 734 | public static readonly LSLInteger RC_GET_LINK_NUM = 4; |
732 | 735 | ||
733 | public static readonly LSLInteger RCERR_UNKNOWN = -1; | 736 | public static readonly LSLInteger RCERR_UNKNOWN = -1; |
734 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; | 737 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; |
735 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; | 738 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; |
736 | 739 | ||