@@ -54,13 +54,13 @@ discard block |
||
| 54 | 54 | $entryId = strtoupper($entryid); |
| 55 | 55 | |
| 56 | 56 | $res = [ |
| 57 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 58 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 59 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 60 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 61 | - 'uniqueId' => '', // ULONG, 16 bytes, 32 hex characters |
|
| 62 | - 'server' => '', // CHAR, variable length |
|
| 63 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 57 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 58 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 59 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 60 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 61 | + 'uniqueId' => '', // ULONG, 16 bytes, 32 hex characters |
|
| 62 | + 'server' => '', // CHAR, variable length |
|
| 63 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 64 | 64 | ]; |
| 65 | 65 | |
| 66 | 66 | $res['length'] = strlen($entryId); |
@@ -99,13 +99,13 @@ discard block |
||
| 99 | 99 | $entryId = strtoupper($entryid); |
| 100 | 100 | |
| 101 | 101 | $res = [ |
| 102 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 103 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 104 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 105 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 106 | - 'id' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 107 | - 'server' => '', // CHAR, variable length |
|
| 108 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 102 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 103 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 104 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 105 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 106 | + 'id' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 107 | + 'server' => '', // CHAR, variable length |
|
| 108 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 109 | 109 | ]; |
| 110 | 110 | |
| 111 | 111 | $res['length'] = strlen($entryId); |
@@ -184,13 +184,13 @@ discard block |
||
| 184 | 184 | $entryId = strtoupper($entryId); |
| 185 | 185 | |
| 186 | 186 | $res = [ |
| 187 | - 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 188 | - 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 189 | - 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 190 | - 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 191 | - 'id' => '', // ULONG, 16 bytes, 32 hex characters |
|
| 192 | - 'extid' => '', // CHAR, variable length |
|
| 193 | - 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 187 | + 'abFlags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 188 | + 'guid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 189 | + 'version' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 190 | + 'type' => '', // ULONG, 4 bytes, 8 hex characters |
|
| 191 | + 'id' => '', // ULONG, 16 bytes, 32 hex characters |
|
| 192 | + 'extid' => '', // CHAR, variable length |
|
| 193 | + 'padding' => '', // TCHAR[3], 4 bytes, 8 hex characters (upto 4 bytes) |
|
| 194 | 194 | ]; |
| 195 | 195 | |
| 196 | 196 | $res['length'] = strlen($entryId); |
@@ -634,8 +634,7 @@ discard block |
||
| 634 | 634 | } |
| 635 | 635 | } |
| 636 | 636 | elseif ($checkValue !== null && $val != $checkValue) { |
| 637 | - $user = $GLOBALS["mapisession"] !== null ? $GLOBALS["mapisession"]->getUserName() : |
|
| 638 | - "<mapisession not yet initialized>"; |
|
| 637 | + $user = $GLOBALS["mapisession"] !== null ? $GLOBALS["mapisession"]->getUserName() : "<mapisession not yet initialized>"; |
|
| 639 | 638 | error_log(sprintf( |
| 640 | 639 | "Unexpected value in store entryid for user %s. Entryid: %s key: '%s' value: '%s' expected: %s", |
| 641 | 640 | $user, |
@@ -665,13 +664,13 @@ discard block |
||
| 665 | 664 | $entryId = strtoupper($entryId); |
| 666 | 665 | |
| 667 | 666 | $res = [ |
| 668 | - 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 669 | - 'messagetype' => '', // UINT, 2 bytes, 4 hex characters |
|
| 670 | - 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 671 | - 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 672 | - 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
| 673 | - 'messagedbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 674 | - 'messagecounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 667 | + 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 668 | + 'messagetype' => '', // UINT, 2 bytes, 4 hex characters |
|
| 669 | + 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 670 | + 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 671 | + 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
| 672 | + 'messagedbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 673 | + 'messagecounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 675 | 674 | ]; |
| 676 | 675 | |
| 677 | 676 | if (!$entryId) { |
@@ -731,12 +730,12 @@ discard block |
||
| 731 | 730 | $entryId = strtoupper($entryId); |
| 732 | 731 | |
| 733 | 732 | $res = [ |
| 734 | - 'abflags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 735 | - 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 736 | - 'foldertype' => '', // UINT, 2 bytes, 4 hex characters |
|
| 737 | - 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 738 | - 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 739 | - 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
| 733 | + 'abflags' => '', // BYTE[4], 4 bytes, 8 hex characters |
|
| 734 | + 'providerguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 735 | + 'foldertype' => '', // UINT, 2 bytes, 4 hex characters |
|
| 736 | + 'folderdbguid' => '', // GUID, 16 bytes, 32 hex characters |
|
| 737 | + 'foldercounter' => '', // ULONG, 6 bytes, 12 hex characters |
|
| 738 | + 'padding' => '', // TCHAR[3], 2 bytes, 4 hex characters |
|
| 740 | 739 | ]; |
| 741 | 740 | |
| 742 | 741 | if (!$entryId) { |