#include "gitkrincludes.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
Include dependency graph for capi.c:
Go to the source code of this file.
Functions | |
void | capi_done (CAPI_Info *info) |
free capi20. | |
gint | capi_dtmf_input_arrow (CAPI_Info *info, unsigned char *ucbuf) |
handle received dtmf tones in a arrow model | |
gint | capi_dtmf_input_text (CAPI_Info *info, unsigned char *ucbuf) |
handle received dtmf in a textinput model | |
void | capi_exception (CAPI_Info *info, gint status) |
handle exceptions | |
void | capi_sound_beep (CAPI_Info *info, FT_Info *ftinfo) |
output a beep signal | |
void | capi_sound_critical (CAPI_Info *info, FT_Info *ftinfo) |
output a critical signal | |
void | capi_sound_ding (CAPI_Info *info, FT_Info *ftinfo) |
output a ding signal | |
void | capi_sound_dong (CAPI_Info *info, FT_Info *ftinfo) |
output a dong signal | |
void | capi_sound_error (CAPI_Info *info, FT_Info *ftinfo) |
output an error signal | |
void | capi_sound_indication (CAPI_Info *info, FT_Info *ftinfo) |
output a indication signal | |
void | capi_sound_notify (CAPI_Info *info, FT_Info *ftinfo) |
output a notify signal | |
gboolean | capi_sound_output (CAPI_Info *info, gchar *filename, FT_Info *ftinfo) |
handle the transformation and the output of sound over the phone | |
void | capi_sound_question (CAPI_Info *info, FT_Info *ftinfo) |
output a question signal | |
void | capi_sound_standard (CAPI_Info *info, FT_Info *ftinfo) |
output a standard signal | |
gint | capi_text_output (CAPI_Info *info, unsigned char *ucbuf, FT_Info *ftinfo) |
handle the transformation and the output of text over the phone |
Definition in file capi.c.
|
free capi20.
Definition at line 647 of file capi.c. References CAPI_Info::capi_appid, and capi_incoming_connected. Referenced by capi_exception(), gitkr_done(), and gitkr_init(). |
|
handle received dtmf tones in a arrow model
Definition at line 730 of file capi.c. References CAPI_Info::capi_appid, gitk_log1, key_of_char(), and navigation(). Referenced by gitkr_widget_optionchoice_handle(), and handle_dialog_main_widgets(). |
Here is the call graph for this function:
|
handle received dtmf in a textinput model
Definition at line 665 of file capi.c. References CAPI_Info::capi_appid, get_ascii_of_key(), gitkr_event_loop_getkey(), key_of_char(), and CAPI_Dtmf::member. Referenced by gitkr_widget_characterinput_handle(). |
Here is the call graph for this function:
|
handle exceptions
Definition at line 829 of file capi.c. References capi_done(), and gitk_log1. |
Here is the call graph for this function:
|
output a beep signal
Definition at line 898 of file capi.c. References capi_sound_output(), and ftinfo. Referenced by gitkr_widget_optionchoice_handle(), next_page(), and prev_page(). |
Here is the call graph for this function:
|
output a critical signal
Definition at line 978 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
output a ding signal
Definition at line 918 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
output a dong signal
Definition at line 968 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
output an error signal
Definition at line 928 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
output a indication signal
Definition at line 958 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
output a notify signal
Definition at line 948 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|
handle the transformation and the output of sound over the phone
Definition at line 839 of file capi.c. References ftinfo, gitk_log, gitk_log2, FT_Wave::num_samples, FT_Wave::sample_rate, FT_Wave::samples, and FT_Alaw::samples. Referenced by capi_sound_beep(), capi_sound_critical(), capi_sound_ding(), capi_sound_dong(), capi_sound_error(), capi_sound_indication(), capi_sound_notify(), capi_sound_question(), and capi_sound_standard(). |
|
output a question signal
Definition at line 938 of file capi.c. References capi_sound_output(), and ftinfo. Referenced by gitkr_widget_characterinput_handle(). |
Here is the call graph for this function:
|
output a standard signal
Definition at line 908 of file capi.c. References capi_sound_output(), and ftinfo. |
Here is the call graph for this function:
|