diff options
author | Rodeo <[email protected]> | 2013-03-18 18:07:48 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-18 18:07:48 +0000 |
commit | 30ddd53e26b3e2aa5930c6cf985f938e36985aed (patch) | |
tree | 3399efbb5727360437672b8918a32dab72420e22 /libhb/ports.h | |
parent | b0aa37a7ff20acafe7a28fe67c69699515d963c5 (diff) |
hb_system_sleep: refactoring.
Also:
- release power assertions before freeing them
- actually free the power assertions in hb_close() (previously unused)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5340 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.h')
-rw-r--r-- | libhb/ports.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index 162781347..2c0aeb1ee 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -105,10 +105,10 @@ void hb_net_close( hb_net_t ** ); /************************************************************************ * OS Sleep Allow / Prevent ***********************************************************************/ -void * hb_system_sleep_opaque_init(); -void hb_system_sleep_opaque_close( void ** opaque ); -void hb_system_sleep_allow( void * opaque ); -void hb_system_sleep_prevent( void * opaque ); +void* hb_system_sleep_opaque_init(); +void hb_system_sleep_opaque_close(void **opaque); +void hb_system_sleep_private_enable(void *opaque); +void hb_system_sleep_private_disable(void *opaque); #endif /* __LIBHB__ */ |