diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 17:10:23 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-04-14 17:10:23 +0100 |
commit | 4fde6ea289328b5f1668ceb69657e0c4a334b1fb (patch) | |
tree | ea23d79c7083f4065cfc15b5734135947c53efcb /src/navigator.h | |
parent | e352474df09257342410e74e8fb686f424819b9a (diff) | |
download | imv-4fde6ea289328b5f1668ceb69657e0c4a334b1fb.tar.gz |
Refactor navigator to new style
Diffstat (limited to 'src/navigator.h')
-rw-r--r-- | src/navigator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/navigator.h b/src/navigator.h index ac3cc59..7b7ccf8 100644 --- a/src/navigator.h +++ b/src/navigator.h @@ -32,11 +32,11 @@ struct imv_navigator { int wrapped; }; -/* Initialises an instance of imv_navigator */ -void imv_navigator_init(struct imv_navigator *nav); +/* Creates an instance of imv_navigator */ +struct imv_navigator *imv_navigator_create(void); -/* Cleans up all resources owned by a imv_navigator instance */ -void imv_navigator_destroy(struct imv_navigator *nav); +/* Cleans up an imv_navigator instance */ +void imv_navigator_free(struct imv_navigator *nav); /* Adds the given path to the navigator's internal list. * If a directory is given, all files within that directory are added. |