diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 16:26:03 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-09-27 23:39:35 +0200 |
commit | 65e63be1f4884a0223fe51ac6ff53ed11605506a (patch) | |
tree | 0310914fa1ab2608463166dfd42a010b862d19a6 /include | |
parent | 125f08eea403724713cea1c79913cc7d26406a07 (diff) |
trans/passwd: convert to trivfs dynamic classes and buckets
libtrivfs contains two ways of managing more than one port class and
bucket. There is the old way of using a statically allocated array
with explicit length, and the new way with dynamically allocated
vectors.
Converting all users to the new way of handling multiple classes
and/or buckets, we can simplify the code in libtrivfs. In many cases,
the code will be simpler and more expressive for the user.
This also fixes a mild bug. The classes and buckets given to
`trivfs_startup' end up in the dynamic vectors too, making the object
lookup code use the more complicated code path.
* trans/password.c: Convert to dynamic classes and buckets.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions