X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=utils.h;h=3b8fa63d6c1ba9bd43a087733cc71680d5dd695d;hb=6efc469de2492112acc89359da86a66cb0263ec0;hp=86e8bbb05f042cef0aedb2f98347b1df2c8a144e;hpb=9cf6760ae39480ed7fd2cab43e5a035948341b77;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/utils.h b/utils.h index 86e8bbb..3b8fa63 100644 --- a/utils.h +++ b/utils.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 Intel Corporation. + * Copyright (C) 2014-2015 Intel Corporation. */ #ifndef __UTILS_H__ @@ -16,8 +16,7 @@ int sysfs_write_str (const char path[PATH_MAX], const char *buf); int sysfs_read_float (const char path[PATH_MAX], float *value); int sysfs_write_float(const char path[PATH_MAX], float value); -int decode_type_spec(const char type_buf[MAX_TYPE_SPEC_LEN], - struct datum_info_t *type_info); +int sysfs_read_uint64(const char path[PATH_MAX], uint64_t *value); void set_timestamp (struct timespec *out, int64_t target_ns);