diff options
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h index 157ee9b724..b82d80de17 100644 --- a/include/env.h +++ b/include/env.h @@ -12,6 +12,16 @@ #include <stdbool.h> /** + * env_get_id() - Gets a sequence number for the environment + * + * This value increments every time the environment changes, so can be used an + * an indication of this + * + * @return environment ID + */ +int env_get_id(void); + +/** * env_complete() - return an auto-complete for environment variables * * @var: partial name to auto-complete |