<!-- ##### SECTION Title ##### -->
ZifLock

<!-- ##### SECTION Short_Description ##### -->


<!-- ##### SECTION Long_Description ##### -->
<para>

</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### MACRO ZIF_LOCK_ERROR ##### -->
<para>

</para>



<!-- ##### STRUCT ZifLock ##### -->
<para>

</para>


<!-- ##### SIGNAL ZifLock::state-changed ##### -->
<para>

</para>

@ziflock: the object which received the signal.
@arg1: 

<!-- ##### STRUCT ZifLockClass ##### -->
<para>

</para>

@parent_class: 
@state_changed: 
@_zif_reserved1: 
@_zif_reserved2: 
@_zif_reserved3: 
@_zif_reserved4: 

<!-- ##### ENUM ZifLockError ##### -->
<para>

</para>

@ZIF_LOCK_ERROR_FAILED: 
@ZIF_LOCK_ERROR_ALREADY_LOCKED: 
@ZIF_LOCK_ERROR_NOT_LOCKED: 
@ZIF_LOCK_ERROR_PERMISSION: 
@ZIF_LOCK_ERROR_LAST: 

<!-- ##### ENUM ZifLockMode ##### -->
<para>

</para>

@ZIF_LOCK_MODE_THREAD: 
@ZIF_LOCK_MODE_PROCESS: 
@ZIF_LOCK_MODE_LAST: 

<!-- ##### ENUM ZifLockType ##### -->
<para>

</para>

@ZIF_LOCK_TYPE_RPMDB: 
@ZIF_LOCK_TYPE_REPO: 
@ZIF_LOCK_TYPE_METADATA: 
@ZIF_LOCK_TYPE_GROUPS: 
@ZIF_LOCK_TYPE_RELEASE: 
@ZIF_LOCK_TYPE_CONFIG: 
@ZIF_LOCK_TYPE_HISTORY: 
@ZIF_LOCK_TYPE_LAST: 

<!-- ##### FUNCTION zif_lock_error_quark ##### -->
<para>

</para>

@void: 
@Returns: 


<!-- ##### FUNCTION zif_lock_get_state ##### -->
<para>

</para>

@lock: 
@Returns: 


<!-- ##### FUNCTION zif_lock_is_instance_valid ##### -->
<para>

</para>

@void: 
@Returns: 


<!-- ##### FUNCTION zif_lock_new ##### -->
<para>

</para>

@void: 
@Returns: 


<!-- ##### FUNCTION zif_lock_release ##### -->
<para>

</para>

@lock: 
@id: 
@error: 
@Returns: 


<!-- ##### FUNCTION zif_lock_release_noerror ##### -->
<para>

</para>

@lock: 
@id: 


<!-- ##### FUNCTION zif_lock_take ##### -->
<para>

</para>

@lock: 
@type: 
@mode: 
@error: 
@Returns: 


<!-- ##### FUNCTION zif_lock_type_to_string ##### -->
<para>

</para>

@lock_type: 
@Returns: 


