File: util.h

package info (click to toggle)
wlrctl 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: ansic: 1,885; xml: 910; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 216 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef WLRCTL_UTIL_H
#define WLRCTL_UTIL_H

struct token {
	const char *name;
	int value;
};


int matchtok(const struct token tokens[], const char *name);

int timestamp();

void die(const char *fmt, ...);

#endif