summaryrefslogtreecommitdiffstats
path: root/util.h
blob: 01f254c70f15b2edfb07a72b1acce66f8f039da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <string>
#include <vector>

const char *get_home_directory(void);

int copy_file(const char *src, const char *dest);

int create_dir(const char *dir);

void tokenize(const std::string& str, std::vector<std::string>& tokens,
	      const std::string& delimiters);

bool find_executable(const char *name, std::string& retpath);