blob: cbca205ade099292fe38d8488fe23c0ff6ba9dcf [file] [log] [blame]
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// This file allows reading the content of the type info stream of a PDB.
#ifndef SYZYGY_PDB_PDB_TYPE_INFO_STREAM_H_
#define SYZYGY_PDB_PDB_TYPE_INFO_STREAM_H_
#include <vector>
#include "base/basictypes.h"
#include "syzygy/pdb/pdb_data.h"
#include "syzygy/pdb/pdb_data_types.h"
namespace pdb {
// Forward declarations.
class PdbStream;
// Read @p type_info_header and @p type_info_record_map from @p stream.
bool ReadTypeInfoStream(PdbStream* stream,
TypeInfoHeader* type_info_header,
TypeInfoRecordMap* type_info_record_map);
} // namespace pdb
#endif // SYZYGY_PDB_PDB_TYPE_INFO_STREAM_H_