aboutsummaryrefslogtreecommitdiff
path: root/daemon/Setup.h
blob: 427e71788c3699be9023b1cf54b92d87d75e2bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * Copyright (C) ARM Limited 2014-2015. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef SETUP_H
#define SETUP_H

// From include/generated/uapi/linux/version.h
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

bool getLinuxVersion(int version[3]);
void update(const char *const gatorPath);

#endif // SETUP_H