File include/ubs-play.h

Functions and variables used by the ubs-play daemon.

Included in: src/play_song.c
  src/ubs-play.c


Included Files


Global Variable PROCNAME

char PROCNAME[128]
Included from include/ubs.h

Global Variable CUR_TIME

struct tm* CUR_TIME
Included from include/ubs.h

Global Variable GLOBAL

ubs_table GLOBAL
Included from include/ubs.h

Global Variable LOGLEVEL

int LOGLEVEL
Included from include/ubs.h

Global Variable do_event

This variable is set to 0 by default, and if it is false, then the ubs-play daemon will pop a song from the queue and play it as usual. If it is true, then it will play an event instead, which means that it reads out of a different queue file (tmp/next-event). This is set to be true in the sig_event function, which comes up whenever a SIGURG is sent to the ubs-play daemon

int do_event


Global Variable PLAY

ubs_table PLAY