diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-05-19 23:22:59 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-05-19 23:22:59 +0000 |
commit | d7d00a144d087e0555d8eed167bb3d10ee65b73a (patch) | |
tree | a03a49e84286c0b6fefdbfe344b7fd6955cbc3d2 /epan/dissectors/pidl/rfr | |
parent | 5cf75da4dd82959b3855344ae30eb46228ac8753 (diff) |
From Julien Kerihuel via bug 2850:
Patch to implement decoding of Exchange RFR protocol.
svn path=/trunk/; revision=28420
Diffstat (limited to 'epan/dissectors/pidl/rfr')
-rw-r--r-- | epan/dissectors/pidl/rfr/Makefile | 10 | ||||
-rw-r--r-- | epan/dissectors/pidl/rfr/mapicodes_enum.h | 98 | ||||
-rw-r--r-- | epan/dissectors/pidl/rfr/rfr.cnf | 1 | ||||
-rw-r--r-- | epan/dissectors/pidl/rfr/rfr.idl | 55 |
4 files changed, 164 insertions, 0 deletions
diff --git a/epan/dissectors/pidl/rfr/Makefile b/epan/dissectors/pidl/rfr/Makefile new file mode 100644 index 0000000000..4f740d9747 --- /dev/null +++ b/epan/dissectors/pidl/rfr/Makefile @@ -0,0 +1,10 @@ +all: packet-dcerpc-rfr.c packet-dcerpc-rfr.h + +packet-dcerpc-rfr.c packet-dcerpc-rfr.h: rfr.idl rfr.cnf mapicodes_enum.h ../idl_types.h + ../../../../tools/pidl/pidl --includedir=.. --ws-parser -- rfr.idl + +clean: + rm -f packet-dcerpc-rfr.c packet-dcerpc-rfr.h idl_types.h + +install: packet-dcerpc-rfr.c packet-dcerpc-rfr.h + cp packet-dcerpc-rfr.c packet-dcerpc-rfr.h ../../ diff --git a/epan/dissectors/pidl/rfr/mapicodes_enum.h b/epan/dissectors/pidl/rfr/mapicodes_enum.h new file mode 100644 index 0000000000..64b671e5e3 --- /dev/null +++ b/epan/dissectors/pidl/rfr/mapicodes_enum.h @@ -0,0 +1,98 @@ +/* + MAPI Implementation + + OpenChange Project + + Copyright (C) Julien Kerihuel 2006 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +/* parser auto-generated by mparse */ + +typedef [public, v1_enum, flag(NDR_PAHEX)] enum { + MAPI_E_SUCCESS = 0x00000000, + MAPI_E_NO_SUPPORT = 0x80040102, + MAPI_E_BAD_CHARWIDTH = 0x80040103, + MAPI_E_STRING_TOO_LONG = 0x80040105, + MAPI_E_UNKNOWN_FLAGS = 0x80040106, + MAPI_E_INVALID_ENTRYID = 0x80040107, + MAPI_E_INVALID_OBJECT = 0x80040108, + MAPI_E_OBJECT_CHANGED = 0x80040109, + MAPI_E_OBJECT_DELETED = 0x8004010A, + MAPI_E_BUSY = 0x8004010B, + MAPI_E_NOT_ENOUGH_DISK = 0x8004010D, + MAPI_E_NOT_ENOUGH_RESOURCES = 0x8004010E, + MAPI_E_NOT_FOUND = 0x8004010F, + MAPI_E_VERSION = 0x80040110, + MAPI_E_LOGON_FAILED = 0x80040111, + MAPI_E_SESSION_LIMIT = 0x80040112, + MAPI_E_USER_CANCEL = 0x80040113, + MAPI_E_UNABLE_TO_ABORT = 0x80040114, + MAPI_E_NETWORK_ERROR = 0x80040115, + MAPI_E_DISK_ERROR = 0x80040116, + MAPI_E_TOO_COMPLEX = 0x80040117, + MAPI_E_BAD_COLUMN = 0x80040118, + MAPI_E_EXTENDED_ERROR = 0x80040119, + MAPI_E_COMPUTED = 0x8004011A, + MAPI_E_CORRUPT_DATA = 0x8004011B, + MAPI_E_UNCONFIGURED = 0x8004011C, + MAPI_E_FAILONEPROVIDER = 0x8004011D, + MAPI_E_UNKNOWN_CPID = 0x8004011E, + MAPI_E_UNKNOWN_LCID = 0x8004011F, + MAPI_E_PASSWORD_CHANGE_REQUIRED = 0x80040120, + MAPI_E_PASSWORD_EXPIRED = 0x80040121, + MAPI_E_INVALID_WORKSTATION_ACCOUNT = 0x80040122, + MAPI_E_INVALID_ACCESS_TIME = 0x80040123, + MAPI_E_ACCOUNT_DISABLED = 0x80040124, + MAPI_E_END_OF_SESSION = 0x80040200, + MAPI_E_UNKNOWN_ENTRYID = 0x80040201, + MAPI_E_MISSING_REQUIRED_COLUMN = 0x80040202, + MAPI_W_NO_SERVICE = 0x80040203, + MAPI_E_BAD_VALUE = 0x80040301, + MAPI_E_INVALID_TYPE = 0x80040302, + MAPI_E_TYPE_NO_SUPPORT = 0x80040303, + MAPI_E_UNEXPECTED_TYPE = 0x80040304, + MAPI_E_TOO_BIG = 0x80040305, + MAPI_E_DECLINE_COPY = 0x80040306, + MAPI_E_UNEXPECTED_ID = 0x80040307, + MAPI_W_ERRORS_RETURNED = 0x80040380, + MAPI_E_UNABLE_TO_COMPLETE = 0x80040400, + MAPI_E_TIMEOUT = 0x80040401, + MAPI_E_TABLE_EMPTY = 0x80040402, + MAPI_E_TABLE_TOO_BIG = 0x80040403, + MAPI_E_INVALID_BOOKMARK = 0x80040405, + MAPI_W_POSITION_CHANGED = 0x80040481, + MAPI_W_APPROX_COUNT = 0x80040482, + MAPI_E_WAIT = 0x80040500, + MAPI_E_CANCEL = 0x80040501, + MAPI_E_NOT_ME = 0x80040502, + MAPI_W_CANCEL_MESSAGE = 0x80040580, + MAPI_E_CORRUPT_STORE = 0x80040600, + MAPI_E_NOT_IN_QUEUE = 0x80040601, + MAPI_E_NO_SUPPRESS = 0x80040602, + MAPI_E_COLLISION = 0x80040604, + MAPI_E_NOT_INITIALIZED = 0x80040605, + MAPI_E_NON_STANDARD = 0x80040606, + MAPI_E_NO_RECIPIENTS = 0x80040607, + MAPI_E_SUBMITTED = 0x80040608, + MAPI_E_HAS_FOLDERS = 0x80040609, + MAPI_E_HAS_MESAGES = 0x8004060A, + MAPI_E_FOLDER_CYCLE = 0x8004060B, + MAPI_W_PARTIAL_COMPLETION = 0x80040680, + MAPI_E_AMBIGUOUS_RECIP = 0x80040700, + MAPI_E_RESERVED = 0xFFFFFFFF +} MAPISTATUS; + diff --git a/epan/dissectors/pidl/rfr/rfr.cnf b/epan/dissectors/pidl/rfr/rfr.cnf new file mode 100644 index 0000000000..07dbd73875 --- /dev/null +++ b/epan/dissectors/pidl/rfr/rfr.cnf @@ -0,0 +1 @@ +# Conformance file for RFR diff --git a/epan/dissectors/pidl/rfr/rfr.idl b/epan/dissectors/pidl/rfr/rfr.idl new file mode 100644 index 0000000000..02d27ad907 --- /dev/null +++ b/epan/dissectors/pidl/rfr/rfr.idl @@ -0,0 +1,55 @@ +/* + RFR Implementation + + OpenChange Project + + Copyright (C) Julien Kerihuel 2008. + + $Id$ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + +#include "idl_types.h" + +[ + uuid("1544f5e0-613c-11d1-93df-00c04fd7bd09"), + endpoint("ncacn_np:[\\pipe\\lsass]","ncacn_np:[\\pipe\\protected_storage]","ncacn_ip_tcp:[]"), + pointer_default(unique), + version(1.0), + helpstring("Exchange 2003 Directory Request For Response") +] interface rfr +{ + +#include "mapicodes_enum.h" + + /*****************/ + /* Function 0x00 */ + MAPISTATUS RfrGetNewDSA( + [in] uint32 ulFlags, + [in,string,charset(DOS)] uint8 *pUserDN, + [in,out,unique,string,charset(DOS)] uint8 **ppszUnused, + [in,out,unique,string,charset(DOS)] uint8 **ppszServer + ); + + /*****************/ + /* Function 0x01 */ + MAPISTATUS RfrGetFQDNFromLegacyDN( + [in] uint32 ulFlags, + [in,range(10,1024)] uint32 cbMailboxServerDN, + [in,string,charset(DOS),size_is(cbMailboxServerDN)] uint8 *szMailboxServerDN, + [out,ref,string,charset(DOS)] uint8 **ppszServerFQDN + ); +} |