aboutsummaryrefslogtreecommitdiff
path: root/src/navigator.h
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-05-01 14:37:16 +0200
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-05-01 14:37:16 +0200
commitaaab6d54a4cee653290d9cca59811e3f14217b7c (patch)
treed4cabbeeaca58cec9c08d7337c57546d7801846a /src/navigator.h
parent30db614d328952ea3baf547c5a5d71b6661aba92 (diff)
downloadimv-aaab6d54a4cee653290d9cca59811e3f14217b7c.tar.gz
Remove buf_size from struct imv_navigator
Implementation details should not leak to other parts of the code. While at it, clean up initialization and destruction of navigator.
Diffstat (limited to 'src/navigator.h')
-rw-r--r--src/navigator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/navigator.h b/src/navigator.h
index b539e8b..5933aa4 100644
--- a/src/navigator.h
+++ b/src/navigator.h
@@ -20,9 +20,10 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#define BUFFER_SIZE 512
+
struct imv_navigator {
int num_paths;
- int buf_size;
int cur_path;
char **paths;
time_t *mtimes;