diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/lscript/lscript_byteformat.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2 meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz |
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/lscript/lscript_byteformat.h')
-rw-r--r-- | linden/indra/lscript/lscript_byteformat.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/linden/indra/lscript/lscript_byteformat.h b/linden/indra/lscript/lscript_byteformat.h index 418c248..ba2c46b 100644 --- a/linden/indra/lscript/lscript_byteformat.h +++ b/linden/indra/lscript/lscript_byteformat.h | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -359,6 +360,7 @@ typedef enum e_lscript_state_event_type | |||
359 | LSTT_OBJECT_REZ, | 360 | LSTT_OBJECT_REZ, |
360 | LSTT_REMOTE_DATA, | 361 | LSTT_REMOTE_DATA, |
361 | LSTT_HTTP_RESPONSE, | 362 | LSTT_HTTP_RESPONSE, |
363 | LSTT_HTTP_REQUEST, | ||
362 | LSTT_EOF, | 364 | LSTT_EOF, |
363 | 365 | ||
364 | LSTT_STATE_BEGIN = LSTT_STATE_ENTRY, | 366 | LSTT_STATE_BEGIN = LSTT_STATE_ENTRY, |
@@ -400,7 +402,8 @@ const U64 LSCRIPTStateBitField[LSTT_EOF] = | |||
400 | 0x0000000020000000, // LSTT_MOVING_END | 402 | 0x0000000020000000, // LSTT_MOVING_END |
401 | 0x0000000040000000, // LSTT_OBJECT_REZ | 403 | 0x0000000040000000, // LSTT_OBJECT_REZ |
402 | 0x0000000080000000, // LSTT_REMOTE_DATA | 404 | 0x0000000080000000, // LSTT_REMOTE_DATA |
403 | 0x0000000100000000LL // LSTT_HTTP_RESPOSE | 405 | 0x0000000100000000LL, // LSTT_HTTP_RESPOSE |
406 | 0x0000000200000000LL // LSTT_HTTP_REQUEST | ||
404 | }; | 407 | }; |
405 | 408 | ||
406 | inline S32 get_event_handler_jump_position(U64 bit_field, LSCRIPTStateEventType type) | 409 | inline S32 get_event_handler_jump_position(U64 bit_field, LSCRIPTStateEventType type) |
@@ -550,5 +553,10 @@ const U32 LSCRIPTRunTimePermissionBits[SCRIPT_PERMISSION_EOF] = | |||
550 | (0x1 << 11),// SCRIPT_PERMISSION_CONTROL_CAMERA | 553 | (0x1 << 11),// SCRIPT_PERMISSION_CONTROL_CAMERA |
551 | }; | 554 | }; |
552 | 555 | ||
556 | // http_request string constants | ||
557 | extern const char* URL_REQUEST_GRANTED; | ||
558 | extern const char* URL_REQUEST_DENIED; | ||
559 | extern const U64 LSL_HTTP_REQUEST_TIMEOUT; | ||
560 | |||
553 | #endif | 561 | #endif |
554 | 562 | ||