![]() |
Home page |
Mailing list |
Docs
Asterisk developer's documentation :: Codename Pineapple
mohclass Struct Reference
Definition at line 128 of file res_musiconhold.c.
Data Fields | |
| int | allowed_files |
| char | args [256] |
| char | dir [256] |
| char ** | filearray |
| unsigned int | flags |
| int | format |
| char | mode [80] |
| char | name [MAX_MUSICCLASS] |
| int | pid |
| int | pseudofd |
| int | srcfd |
| time_t | start |
| pthread_t | thread |
| int | total_files |
|
|
The current size of the filearray Definition at line 136 of file res_musiconhold.c. Referenced by moh_add_file(). |
|
|
Definition at line 131 of file res_musiconhold.c. Referenced by spawn_mp3(). |
|
|
Definition at line 130 of file res_musiconhold.c. Referenced by moh_scan_files(), and spawn_mp3(). |
|
|
A dynamically sized array to hold the list of filenames in "files" mode Definition at line 134 of file res_musiconhold.c. Referenced by ast_moh_files_next(), moh_add_file(), and moh_scan_files(). |
|
|
Definition at line 139 of file res_musiconhold.c. |
|
|
The format from the MOH source, not applicable to "files" mode Definition at line 141 of file res_musiconhold.c. Referenced by moh_class_malloc(), and mohalloc(). |
|
|
Definition at line 132 of file res_musiconhold.c. |
|
|
Definition at line 129 of file res_musiconhold.c. |
|
|
The pid of the external application delivering MOH Definition at line 143 of file res_musiconhold.c. Referenced by ast_moh_destroy(), and spawn_mp3(). |
|
|
FD for timing source Definition at line 149 of file res_musiconhold.c. |
|
|
Source of audio Definition at line 147 of file res_musiconhold.c. |
|
|
Definition at line 144 of file res_musiconhold.c. Referenced by spawn_mp3(). |
|
|
Definition at line 145 of file res_musiconhold.c. |
|
|
The current number of files loaded into the filearray Definition at line 138 of file res_musiconhold.c. Referenced by ast_moh_files_next(), local_ast_moh_start(), moh_add_file(), and moh_scan_files(). |