]> git.proxmox.com Git - mirror_lxcfs.git/blame - src/cpuset_parse.h
cpuset_parse: check input string in cpuset_nexttok
[mirror_lxcfs.git] / src / cpuset_parse.h
CommitLineData
db0463bf 1/* SPDX-License-Identifier: LGPL-2.1+ */
1f5596dd
CB
2
3#ifndef __LXCFS_CPUSET_PARSE_H
4#define __LXCFS_CPUSET_PARSE_H
5
d511b24d 6#include "config.h"
1f5596dd 7
1f5596dd
CB
8#include <stdbool.h>
9#include <stdio.h>
10#include <stdlib.h>
11#include <sys/stat.h>
12#include <sys/types.h>
13#include <unistd.h>
14
1f5596dd
CB
15#include "macro.h"
16
17extern bool cpu_in_cpuset(int cpu, const char *cpuset);
18extern int cpu_number_in_cpuset(const char *cpuset);
19extern char *get_cpuset(const char *cg);
20
21#endif /* __LXCFS_CPUSET_PARSE_H */
22
23