diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-19 00:22:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-19 00:22:34 +0100 |
commit | a66d02c3290008d50b2b52f84cfbf46a546ba831 (patch) | |
tree | ba2c64f260e8a256c93f5b722dc926d2343b15ca /name.h | |
parent | 4609154d5513108478f603ff1589e486c001daa9 (diff) |
add functions for dumping server state
Diffstat (limited to 'name.h')
-rw-r--r-- | name.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -39,7 +39,8 @@ typedef enum NameType { typedef enum NameState { NAME_STUB, NAME_LOADED, - NAME_FAILED + NAME_FAILED, + _NAME_STATE_MAX } NameState; typedef enum NameDependency { @@ -276,5 +277,8 @@ void name_free(Name *name); int name_link(Name *name); int name_merge(Name *name, Name *other); int name_augment(Name *n); +const char* name_id(Name *n); + +void name_dump(Name *n, FILE *f); #endif |