From Jean-Baptiste Marchand

add function names for the TAPI interface

svn path=/trunk/; revision=8745
This commit is contained in:
Ronnie Sahlberg 2003-10-22 01:55:04 +00:00
parent 01d8f44de9
commit 036dbb0859
3 changed files with 24 additions and 23 deletions

View File

@ -1574,6 +1574,7 @@ Jean-Baptiste Marchand <Jean-Baptiste.Marchand [AT] hsc.fr> {
objects in SAMR
Fix for NETLOGON/DsrGetSiteName and other NETLOGON functions
Initial DRSUAPI (Active Directory directory replication) support
Procedure names for TAPI interface
}
Andreas Trauer <andreas.trauer [AT] siemens.com> {

View File

@ -2,7 +2,7 @@
* Routines for DCERPC TAPI packet disassembly
* Copyright 2002, Ronnie Sahlberg
*
* $Id: packet-dcerpc-tapi.c,v 1.7 2003/08/04 02:48:59 tpot Exp $
* $Id: packet-dcerpc-tapi.c,v 1.8 2003/10/22 01:55:04 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -62,7 +62,7 @@ static e_uuid_t uuid_dcerpc_tapi = {
static guint16 ver_dcerpc_tapi = 1;
/*
IDL long Function_00(
IDL long ClientAttach(
IDL [out] [context_handle] void *element_1,
IDL [in] long element_2,
IDL [out] long element_3,
@ -71,7 +71,7 @@ static guint16 ver_dcerpc_tapi = 1;
IDL );
*/
static int
dissect_tapi_UNKNOWN_00_rqst(tvbuff_t *tvb, int offset,
dissect_tapi_client_attach_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@ -89,7 +89,7 @@ dissect_tapi_UNKNOWN_00_rqst(tvbuff_t *tvb, int offset,
return offset;
}
static int
dissect_tapi_UNKNOWN_00_reply(tvbuff_t *tvb, int offset,
dissect_tapi_client_attach_reply(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@ -106,7 +106,7 @@ dissect_tapi_UNKNOWN_00_reply(tvbuff_t *tvb, int offset,
}
/*
IDL long Function_01(
IDL long ClientRequest(
IDL [in] [context_handle] void *element_6,
IDL [in,out] [size_is(element_8)] [length_is(???)] char element_7[*],
IDL [in] long element_8
@ -135,7 +135,7 @@ dissect_tapi_TYPE_1(tvbuff_t *tvb, int offset,
}
static int
dissect_tapi_UNKNOWN_01_rqst(tvbuff_t *tvb, int offset,
dissect_tapi_client_request_rqst(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@ -152,7 +152,7 @@ dissect_tapi_UNKNOWN_01_rqst(tvbuff_t *tvb, int offset,
return offset;
}
static int
dissect_tapi_UNKNOWN_01_reply(tvbuff_t *tvb, int offset,
dissect_tapi_client_request_reply(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree,
char *drep)
{
@ -164,19 +164,19 @@ dissect_tapi_UNKNOWN_01_reply(tvbuff_t *tvb, int offset,
/*
IDL void Function_02(
IDL void ClientDetach(
IDL void
IDL );
*/
static int
dissect_tapi_UNKNOWN_02_rqst(tvbuff_t *tvb _U_, int offset _U_,
dissect_tapi_client_detach_rqst(tvbuff_t *tvb _U_, int offset _U_,
packet_info *pinfo _U_, proto_tree *tree _U_,
char *drep _U_)
{
return offset;
}
static int
dissect_tapi_UNKNOWN_02_reply(tvbuff_t *tvb _U_, int offset _U_,
dissect_tapi_client_detach_reply(tvbuff_t *tvb _U_, int offset _U_,
packet_info *pinfo _U_, proto_tree *tree _U_,
char *drep _U_)
{
@ -187,15 +187,15 @@ dissect_tapi_UNKNOWN_02_reply(tvbuff_t *tvb _U_, int offset _U_,
IDL }
*/
static dcerpc_sub_dissector dcerpc_tapi_dissectors[] = {
{ TAPI_UNKNOWN_00, "TAPI_UNKNOWN_00",
dissect_tapi_UNKNOWN_00_rqst,
dissect_tapi_UNKNOWN_00_reply },
{ TAPI_UNKNOWN_01, "TAPI_UNKNOWN_01",
dissect_tapi_UNKNOWN_01_rqst,
dissect_tapi_UNKNOWN_01_reply },
{ TAPI_UNKNOWN_02, "TAPI_UNKNOWN_02",
dissect_tapi_UNKNOWN_02_rqst,
dissect_tapi_UNKNOWN_02_reply },
{ TAPI_CLIENT_ATTACH, "ClientAttach",
dissect_tapi_client_attach_rqst,
dissect_tapi_client_attach_reply },
{ TAPI_CLIENT_REQUEST, "ClientRequest",
dissect_tapi_client_request_rqst,
dissect_tapi_client_request_reply },
{ TAPI_CLIENT_DETACH, "ClientDetach",
dissect_tapi_client_detach_rqst,
dissect_tapi_client_detach_reply },
{0, NULL, NULL, NULL }
};

View File

@ -2,7 +2,7 @@
* Routines for DCERPC TAPI packet disassembly
* Copyright 2002, Ronnie Sahlberg
*
* $Id: packet-dcerpc-tapi.h,v 1.2 2002/08/28 21:00:12 jmayer Exp $
* $Id: packet-dcerpc-tapi.h,v 1.3 2003/10/22 01:55:04 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -26,8 +26,8 @@
#ifndef __PACKET_DCERPC_TAPI_H
#define __PACKET_DCERPC_TAPI_H
#define TAPI_UNKNOWN_00 0x00
#define TAPI_UNKNOWN_01 0x01
#define TAPI_UNKNOWN_02 0x02
#define TAPI_CLIENT_ATTACH 0x00
#define TAPI_CLIENT_REQUEST 0x01
#define TAPI_CLIENT_DETACH 0x02
#endif