radiosched.h File Reference
Detailed Description
Schedule connections to other radios (to re-broadcast their shows) or play files. This file contains necessary interfaces and some concrete classes.
Definition in file radiosched.h.
#include <math.h>
#include <pthread.h>
#include <sys/time.h>
#include <inchannels.h>
#include <outchannels.h>
#include <gui.h>
#include <generic.h>
Go to the source code of this file.
|
Classes |
| struct | _sched_rec |
| class | Basic_scheduler |
| class | Scheduler_text |
| class | Scheduler_xml |
Defines |
|
#define | SCHEDFILE "schedule.xml" |
|
#define | CRONSIZE (8192*2) |
|
#define | TSEPARATOR " \t" |
Typedefs |
|
typedef _sched_rec | sched_rec |
|
typedef int(* | sched_rec_callb )(void *, sched_rec *) |
Functions |
|
const char * | sched_file_path (void) |
| int | parse_xml_sched_file (sched_rec_callb callb, void *udata, sched_rec *data) |
| int | create_xml_schedule_file (void) |
| int | write_xml_schedule_file (const char *content) |
| char * | format_xml_sched_rec (const sched_rec *rec) |
Variables |
|
Basic_scheduler * | rscheduler |
Function Documentation
| int create_xml_schedule_file |
( |
void |
|
) |
|
|
|
|
Create an empty one if it does not exists. |
| char* format_xml_sched_rec |
( |
const sched_rec * |
rec |
) |
|
|
|
|
Must free() returner pointer. |
| int parse_xml_sched_file |
( |
sched_rec_callb |
callb, |
|
|
void * |
udata, |
|
|
sched_rec * |
data |
|
) |
|
|
|
|
Parse $HOME/.muse/ SCHEDFILE and call - Parameters:
-
- Returns:
- TRUE if parse successfull.
|
| int write_xml_schedule_file |
( |
const char * |
content |
) |
|
|
Generated on Mon Apr 25 12:22:40 2005 for MuSE by
1.3.4