1b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// Copyright (c) 2008, Google Inc.
2b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// All rights reserved
3b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// Redistribution and use in source and binary forms, with or without
4b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// modification, are permitted provided that the following conditions are
5b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// met:
6b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//
7b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//     * Redistributions of source code must retain the above copyright
8b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// notice, this list of conditions and the following disclaimer.
9b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//     * Redistributions in binary form must reproduce the above
10b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// copyright notice, this list of conditions and the following disclaimer
11b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// in the documentation and/or other materials provided with the
12b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// distribution.
13b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//     * Neither the name of Google Inc. nor the names of its
14b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// contributors may be used to endorse or promote products derived from
15b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// this software without specific prior written permission.
16b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//
17b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28b0d807666f3ab5af581e4687eba31717bbde86d5nealsid
29b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// breakpad_nlist.h
30b0d807666f3ab5af581e4687eba31717bbde86d5nealsid//
31b0d807666f3ab5af581e4687eba31717bbde86d5nealsid// This file is meant to provide a header for clients of the modified
32d906d0f7c974fba444a117ee4b8000f60da07923nealsid// nlist function implemented to work on 64-bit.
33b0d807666f3ab5af581e4687eba31717bbde86d5nealsid
34b0d807666f3ab5af581e4687eba31717bbde86d5nealsid#ifndef CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__
35b0d807666f3ab5af581e4687eba31717bbde86d5nealsid
360344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com#include <mach/machine.h>
37b0d807666f3ab5af581e4687eba31717bbde86d5nealsid
380344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.comint breakpad_nlist(const char *name,
390344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   struct nlist *list,
400344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   const char **symbolNames,
410344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   cpu_type_t cpu_type);
420344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.comint breakpad_nlist(const char *name,
430344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   struct nlist_64 *list,
440344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   const char **symbolNames,
450344a368deac6abaa280a298bcea9bb00a90df3fted.mielczarek@gmail.com                   cpu_type_t cpu_type);
46b0d807666f3ab5af581e4687eba31717bbde86d5nealsid
47b0d807666f3ab5af581e4687eba31717bbde86d5nealsid#endif  /* CLIENT_MAC_HANDLER_BREAKPAD_NLIST_H__ */
48