kernel-interface: Add reqid allocation and release functions
authorMartin Willi <martin@revosec.ch>
Wed, 12 Nov 2014 16:22:45 +0000 (17:22 +0100)
committerMartin Willi <martin@revosec.ch>
Fri, 20 Feb 2015 12:34:49 +0000 (13:34 +0100)
commitcc08ce83f06d2158b5306b6f15a2701873fd8c3f
tree980ca44325d87d816a8933486b7a01c7964c9fff
parent6d4649573ec2d8d89ef1130d63192c672c4b707b
kernel-interface: Add reqid allocation and release functions

To reassign reqids where appropriate, we explicitly allocate or confirm them
centrally on the kernel-interface.

Currently the state is stored in the kernel-interface wrapper for all
backends, but we may add appropriate methods to each backend to implement
a custom reqid allocation logic, if required.
src/libhydra/kernel/kernel_interface.c
src/libhydra/kernel/kernel_interface.h