axl_bool myqtt_storage_lock_pkgid ( MyQttCtx ctx,
MyQttConn conn,
int  pkg_id 

Allows to lock the provided id or fail if it is already in use.

ctxThe context where the operation takes place.
connThe connection where the operation takes place, using its session.
pkg_idThe packet id to lock.
axl_true if the pkgid was locked, otherwise axl_false is returned.

References myqtt_storage_lock_pkgid_offline().