rocksdb/port
jorlow@chromium.org f67e15e50f Initial checkin.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@2 62dab493-f737-651d-591e-8d6aee1b9529
2011-03-18 22:37:00 +00:00
..
port.h Initial checkin. 2011-03-18 22:37:00 +00:00
port_android.cc Initial checkin. 2011-03-18 22:37:00 +00:00
port_android.h Initial checkin. 2011-03-18 22:37:00 +00:00
port_chromium.cc Initial checkin. 2011-03-18 22:37:00 +00:00
port_chromium.h Initial checkin. 2011-03-18 22:37:00 +00:00
port_example.h Initial checkin. 2011-03-18 22:37:00 +00:00
port_posix.cc Initial checkin. 2011-03-18 22:37:00 +00:00
port_posix.h Initial checkin. 2011-03-18 22:37:00 +00:00
README Initial checkin. 2011-03-18 22:37:00 +00:00
sha1_portable.cc Initial checkin. 2011-03-18 22:37:00 +00:00
sha1_portable.h Initial checkin. 2011-03-18 22:37:00 +00:00
sha1_test.cc Initial checkin. 2011-03-18 22:37:00 +00:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.