6ac5f8922e
So far, it seems we can make this work with just hw_init() needing to be subdriver-specific (it will point 'di' to the respective per-subdriver entry), the rest of the API functions can then use a strcmp() on di->name to learn which subdriver they belong to. |
||
---|---|---|
.. | ||
Makefile.am | ||
api.c | ||
protocol.c | ||
protocol.h |