[libvirt] [PATCHv2 08/14] event: tighten scope of object_event

Eric Blake eblake at redhat.com
Tue Jan 7 16:12:56 UTC 2014


On 01/07/2014 08:18 AM, John Ferlan wrote:
> 
> 
> On 01/06/2014 05:27 PM, Eric Blake wrote:
>> Tighten up scope after the previous patch avoided using
>> internals.  This will also make it easier to change
>> internal implementation without having to chase down quite
>> as many impacted callers or worrying about two files getting
>> implementations out of sync.
>>
>> * src/conf/object_event_private.h
>> (virObjectEventCallbackListAddID, virObjectEventQueueClear)
>> (virObjectEventStateLock, virObjectEventStateUnlock)
>> (virObjectEventTimer): Drop prototype.
>> (_virObjectEventCallbackList, _virObjectEventState)
>> (_virObjectEventCallback): Move...
>> * src/conf/object_event.c: ...here.
>> (virObjectEventCallbackListAddID, virObjectEventQueueClear)
>> (virObjectEventStateLock, virObjectEventStateUnlock)
>> (virObjectEventTimer): Mark private.
>>
>> Signed-off-by: Eric Blake <eblake at redhat.com>
>> ---
>>  src/conf/object_event.c         | 42 +++++++++++++++++++++++++----
>>  src/conf/object_event_private.h | 58 -----------------------------------------
>>  2 files changed, 37 insertions(+), 63 deletions(-)
>>
> 
> ACK

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140107/f92d12dd/attachment-0001.sig>


More information about the libvir-list mailing list