Data Fields | |
int | allowed_files |
char | args [256] |
unsigned int | delete:1 |
char | dir [256] |
char ** | filearray |
unsigned int | flags |
int | format |
int | inuse |
char | mode [80] |
char | name [MAX_MUSICCLASS] |
int | pid |
int | pseudofd |
int | srcfd |
time_t | start |
pthread_t | thread |
int | total_files |
Definition at line 129 of file res_musiconhold.c.
int allowed_files |
The current size of the filearray
Definition at line 137 of file res_musiconhold.c.
Referenced by moh_add_file().
char args[256] |
Definition at line 132 of file res_musiconhold.c.
Referenced by load_moh_classes(), and spawn_mp3().
unsigned int delete |
Definition at line 153 of file res_musiconhold.c.
Referenced by moh_files_release(), and moh_register().
char dir[256] |
char** filearray |
A dynamically sized array to hold the list of filenames in "files" mode
Definition at line 135 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), moh_add_file(), and moh_scan_files().
unsigned int flags |
Definition at line 140 of file res_musiconhold.c.
int format |
The format from the MOH source, not applicable to "files" mode
Definition at line 142 of file res_musiconhold.c.
Referenced by moh_class_malloc(), and mohalloc().
int inuse |
Number of users
Definition at line 152 of file res_musiconhold.c.
Referenced by local_ast_moh_start(), and moh_files_release().
char mode[80] |
Definition at line 133 of file res_musiconhold.c.
char name[MAX_MUSICCLASS] |
int pid |
The pid of the external application delivering MOH
Definition at line 144 of file res_musiconhold.c.
Referenced by ast_moh_destroy_one(), and spawn_mp3().
int pseudofd |
FD for timing source
Definition at line 150 of file res_musiconhold.c.
int srcfd |
Source of audio
Definition at line 148 of file res_musiconhold.c.
time_t start |
pthread_t thread |
Definition at line 146 of file res_musiconhold.c.
int total_files |
The current number of files loaded into the filearray
Definition at line 139 of file res_musiconhold.c.
Referenced by ast_moh_files_next(), local_ast_moh_start(), moh_add_file(), and moh_scan_files().