diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-01-04 22:42:45 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-01-04 22:42:45 -0800 |
commit | 29b2c9556ff6965d3b688e2ff6483dd8ffd43519 (patch) | |
tree | f2ee081afe198b86658f893ef27b6eebf666d163 /src/connman.h | |
parent | 65afea87023cc3e3cec215c6f2f0fa1f1e250040 (diff) | |
download | connman-29b2c9556ff6965d3b688e2ff6483dd8ffd43519.tar.gz connman-29b2c9556ff6965d3b688e2ff6483dd8ffd43519.tar.bz2 connman-29b2c9556ff6965d3b688e2ff6483dd8ffd43519.zip |
Add framework for counter callbacks
Diffstat (limited to 'src/connman.h')
-rw-r--r-- | src/connman.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index 61dd4119..6f6b6215 100644 --- a/src/connman.h +++ b/src/connman.h @@ -65,6 +65,13 @@ void __connman_agent_cleanup(void); int __connman_agent_register(const char *sender, const char *path); int __connman_agent_unregister(const char *sender, const char *path); +int __connman_counter_register(const char *owner, const char *path, + unsigned int interval); +int __connman_counter_unregister(const char *owner, const char *path); + +int __connman_counter_init(void); +void __connman_counter_cleanup(void); + struct connman_service; typedef void (* passphrase_cb_t) (struct connman_service *service, |