uvt: ctx: add major/minor helpers
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 5 Mar 2013 00:29:10 +0000 (01:29 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 5 Mar 2013 00:31:27 +0000 (01:31 +0100)
commite28c39c4fb5cfdba220fac525780e5bf15849bdf
tree7c569e3fec09d4f049c3f51e40c66f73a93e80e4
parent62a16d13b7f303683bfe84c899b61526340021a5
uvt: ctx: add major/minor helpers

Two new functions to retrieve the current major number and dynamically
allocate minor numbers.
This can be used by clients that allocate more than one CDEV for VTs to
dynamically retrieve a new minor number.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
docs/sym/libuvt.sym
src/uvt.h
src/uvt_ctx.c
src/uvt_internal.h