summaryrefslogtreecommitdiff
path: root/utils.h
blob: 29579184a6a00cc809c925abee33dd15208bdf18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

#define ERROR -1

enum os
{
	apt,
	dnf,
	emerge,
	pacman,
	xbps,
	ENUMSIZE
};

int checkIfFileExists(char *path);
int detectOsType();
char* stringedArgument(int argc, char** argv);