Refactor: BifTypePtr --> BifType

As per our mail discussion renaming BifTypePtr namespace to
BifType.
This commit is contained in:
Gregor Maier 2011-02-22 14:52:21 -08:00
parent fab11c44ee
commit e310119ffa
4 changed files with 6 additions and 6 deletions

View file

@ -234,7 +234,7 @@ void DCE_RPC_Session::DeliverPDU(int is_orig, int len, const u_char* data)
val_list* vl = new val_list;
vl->append(analyzer->BuildConnVal());
vl->append(new Val(is_orig, TYPE_BOOL));
vl->append(new EnumVal(data[2], BifTypePtr::Enum::dce_rpc_ptype));
vl->append(new EnumVal(data[2], BifType::Enum::dce_rpc_ptype));
vl->append(new StringVal(len, (const char*) data));
analyzer->ConnectionEvent(dce_rpc_message, vl);
@ -296,7 +296,7 @@ void DCE_RPC_Session::DeliverBind(const binpac::DCE_RPC_Simple::DCE_RPC_PDU* pdu
val_list* vl = new val_list;
vl->append(analyzer->BuildConnVal());
vl->append(new StringVal(if_uuid.to_string()));
// vl->append(new EnumVal(if_id, BifTypePtr::Enum::dce_rpc_if_id));
// vl->append(new EnumVal(if_id, BifType::Enum::dce_rpc_if_id));
analyzer->ConnectionEvent(dce_rpc_bind, vl);
}

View file

@ -288,7 +288,7 @@ void PortmapperInterp::Event(EventHandlerPtr f, Val* request, int status, Val* r
}
else
{
vl->append(new EnumVal(status, BifTypePtr::Enum::rpc_status));
vl->append(new EnumVal(status, BifType::Enum::rpc_status));
if ( request )
vl->append(request);
}

View file

@ -91,9 +91,9 @@ void set_decl_name(const char *name)
switch ( definition_type ) {
case TYPE_DEF:
decl.c_namespace_start = "namespace BifTypePtr { namespace " + type_name + "{ ";
decl.c_namespace_start = "namespace BifType { namespace " + type_name + "{ ";
decl.c_namespace_end = " } }";
decl.c_fullname = "BifTypePtr::" + type_name + "::";
decl.c_fullname = "BifType::" + type_name + "::";
break;
case CONST_DEF:

View file

@ -150,7 +150,7 @@ function PortmapCallFailed(connection: RPC_Conn,
status: EnumRPCStatus): bool
%{
// BifEnum::rpc_status st = static_cast<BifEnum::rpc_status>(status);
Val *st = new EnumVal(status, BifTypePtr::Enum::rpc_status);
Val *st = new EnumVal(status, BifType::Enum::rpc_status);
switch ( call->proc() ) {
case PMAPPROC_NULL: