aboutsummaryrefslogtreecommitdiff
path: root/include/lib/dir.h
blob: 0ec9cac2638e6df79c96ee82505c0a815c81bf51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef INC_LIB_DIR_H
#define INC_LIB_DIR_H

#include <lib/lib.h>
#include <lib/bool.h>

// Is directory
bool_t is_directory(char* dirname);

// List directory
char** list_directory(char* dirname);

// Get full path
char* full_path(char* dir, char* file);

// Determines if file name has tif file extension
bool_t is_tif_ext(char* file_name);

#endif