Go to the documentation of this file.00001 #if !defined(HFILE_libcutils)
00002 #define HFILE_libcutils
00003
00004 #include <sys/types.h>
00005
00006 extern "C" {
00007 int32_t android_atomic_inc(volatile int32_t* addr);
00008 int32_t android_atomic_dec(volatile int32_t* addr);
00009 int android_atomic_release_cas(int32_t oldvalue, int32_t newvalue, volatile int32_t* addr);
00010 #define android_atomic_cmpxchg android_atomic_release_cas
00011 int property_get(const char *key, char *value, const char *default_value);
00012 }
00013
00014 #endif //end of lib