~q3cpma/mus

ref: cf29c2237d0c99e5240a55895c07564ef4635392 mus/mus_player/command.h -rw-r--r-- 323 bytes
cf29c223q3cpma Add a #pragma once to the new xoshiro128plus.h header 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <stddef.h>

#include "gperf.h"


typedef enum
{
	CMD_PLAY,
	CMD_PAUSE,
	CMD_TOGGLE_PLAY_PAUSE,
	CMD_QUIT,
	CMD_TRACK_NEXT,
	CMD_TRACK_PREV,
	CMD_TRACK_REWIND,
	CMD_TRACK_FIRST,
	CMD_STATUS
} Cmd_id;


/* gperf function */
const Gperf_match * cmd_match(register const char *str, register size_t len);