~q3cpma/mus

ref: cf29c2237d0c99e5240a55895c07564ef4635392 mus/mus_player/status.h -rw-r--r-- 440 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
#pragma once

#include "ipc.h"
#include "track_info.h"


/* Write the player and track status to a buffer. Return false if the buffer
   was too small, true otherwise */
void status_fprint(FILE *stream, Player_state state, const Track_info *tinfo);

/* Wrapper to execute the status_cmd and pass the output of the STATUS command
   to its stdin */
void status_exec_notify_cmd(const char *cmd, Player_state state,
	const Track_info *tinfo);