File src/cmd_sched.c

Displays information about the programming schedule, as given in the ubs.conf file.


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 WEEK

An array that holds all of the half-hour slots for an entire week, which is the period of time that the ubs runs off of. This array contains integers which correspond to show ID's

int WEEK[7][48]
Included from include/ubs-sched.h


Global Variable ALLSHOWS

All the known shows

struct show* ALLSHOWS
Included from include/ubs-sched.h


Global Variable SCHED

ubs_table SCHED
Included from include/ubs-sched.h

Global Function cmd_sched()

Displays information about the programming schedule.

int cmd_sched ( int cmdc, char** cmdv )

int cmd_sched
Returns OK on success
int cmdc
Number of arguments
char** cmdv
Argument vector
Prototyped in: include/ubs-main.h
Calls: sub_dump_sched()src/cmd_sched.c
  sub_help_cmd()src/cmd_help.c
  getopt()

Global Function sub_dump_sched()

dump_sched Returns 0 for success

int sub_dump_sched ( int format )
int mode The output mode

Prototyped in: include/ubs-main.h
Calls: find_show(), printf()
Called by: cmd_sched()src/cmd_sched.c