time-service: Provide an api to enable or disable logging
By default, debug logging is enabled for GET operation.
Clients can enable or disable logs by calling into this api.
Change-Id: Iefed6b8a2f3f3828d9b9c847794b1ad891ea3be7
diff --git a/time_genoff.h b/time_genoff.h
index caa55f6..e3e4447 100644
--- a/time_genoff.h
+++ b/time_genoff.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -66,6 +66,8 @@
typedef enum time_genoff_opr {
T_SET,
T_GET,
+ T_DISABLE,
+ T_ENABLE,
T_MAX
} time_genoff_opr_type;
@@ -85,4 +87,7 @@
/* API to be called for time get/set operation */
int time_genoff_operation(time_genoff_info_type *pargs);
+/* API to be called for logging operations */
+int time_control_operations(time_genoff_info_type *pargs);
+
#endif /* __TIME_GENOFF_H__ */