OSDN Git Service

core: Create an adapter already in index_added/read_index_list
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Jan 2013 16:50:14 +0000 (18:50 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Jan 2013 16:50:14 +0000 (18:50 +0200)
commit53b82c067921d91884b8e3c1b89199ec8a79b6da
tree35da4efa3f8e3a2f0c948aba36589be9a53a1090
parentc9e923fdd2fbe0490ac49faaa79441c3c0b150ee
core: Create an adapter already in index_added/read_index_list

This patch refactors the adapter_create and adapter_register functions
so that an uninitialized adapter object can be created in
index_added/read_index_list but only registered when the read_info
response comes.
src/adapter.c