speech-dispatcher: Functions used by module_main

 
 5.2.7.4 Functions used by 'module_main.c'
 .........................................
 
  -- Module Utils function: char* do_speak(void)
      Takes care of communication after the 'SPEAK' command was received.
      Calls 'module_speak()' when the full text is received.
 
      It returns a response according to the communication protocol.
 
  -- Module Utils function: char* do_stop(void)
      Calls the 'module_stop()' function of the particular output module.
 
      It returns a response according to the communication protocol.
 
  -- Module Utils function: char* do_pause(void)
      Calls the 'module_pause()' function of the particular output
      module.
 
      It returns a response according to the communication protocol and
      the value returned by 'module_pause()'.
 
  -- Module Utils function: char* do_set()
      Takes care of communication after the 'SET' command was received.
      Doesn't call any particular function of the output module, only
      sets the values in the settings tables.  (You should then call the
      'UPDATE_PARAMETER()' macro in module_speak() to actually set the
      synthesizer to these values.)
 
      It returns a response according to the communication protocol.
 
  -- Module Utils function: char* do_speaking()
      Calls the 'module_speaking()' function.
 
      It returns a response according to the communication protocol and
      the value returned by 'module_speaking()'.
 
  -- Module Utils function: void do_quit()
      Prints the farewell message to the standard output, according to
      the protocol.  Then it calls 'module_close()'.