interface: add lif_interface.rdepends_count
This commit is contained in:
parent
e6c6f49143
commit
67dce280d7
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ struct lif_interface {
|
||||||
|
|
||||||
struct lif_dict vars;
|
struct lif_dict vars;
|
||||||
|
|
||||||
size_t refcount; /* >= 0 if up, else 0 */
|
size_t refcount; /* > 0 if up, else 0 */
|
||||||
|
size_t rdepends_count; /* > 0 if any reverse dependency */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LIF_INTERFACE_COLLECTION_FOREACH(iter, collection) \
|
#define LIF_INTERFACE_COLLECTION_FOREACH(iter, collection) \
|
||||||
|
|
Loading…
Reference in a new issue