haiku/headers/private/system/architecture_private.h
Ingo Weinhold 60b39cd741 Add get_*architecture() API, extend find_path*() API
* Add get_architecture(), get_primary_architecture(),
  get_secondary_architectures(), guess_architecture_for_path() to get
  the caller's architecture, the primary architecture, all secondary
  architectures, or the architecture associated with a specified path
  respectively.
* Rename the find_path*() functions to find_path*_etc() and add an
  optional architecture parameter. Add simplified find_path*()
  functions.
* BPathFinder: Add FindPath[s]() versions with an architecture
  parameter.
2013-11-17 02:09:36 +01:00

26 lines
520 B
C

/*
* Copyright 2013, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _SYSTEM_ARCHITECTURE_PRIVATE_H
#define _SYSTEM_ARCHITECTURE_PRIVATE_H
#include <Architecture.h>
__BEGIN_DECLS
const char* __get_architecture();
const char* __get_primary_architecture();
size_t __get_secondary_architectures(const char** architectures,
size_t count);
const char* __guess_architecture_for_path(const char* path);
__END_DECLS
#endif /* _SYSTEM_ARCHITECTURE_PRIVATE_H */