navit  0.5.3-trunk
speech_cmdline.c File Reference
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <glib.h>
#include "config.h"
#include "debug.h"
#include "item.h"
#include "plugin.h"
#include "file.h"
#include "speech.h"
#include "util.h"

Data Structures

struct  speech_priv
 

Functions

static char * urldecode (char *str)
 
static GListspeech_cmdline_search (GList *samples, int suffix_len, const char *text, int decode)
 
static int speechd_say (struct speech_priv *this, const char *text)
 
static void speechd_destroy (struct speech_priv *this)
 
static struct speech_privspeechd_new (struct speech_methods *meth, struct attr **attrs, struct attr *parent)
 
void plugin_init (void)
 The plugin entry point. More...
 

Variables

static struct speech_methods speechd_meth
 

Function Documentation

◆ plugin_init()

void plugin_init ( void  )

The plugin entry point.

Returns
nothing

The plugin entry point

References speechd_new().

◆ speech_cmdline_search()

static GList* speech_cmdline_search ( GList samples,
int  suffix_len,
const char *  text,
int  decode 
)
static

References dbg, lvl_debug, and urldecode().

Referenced by speechd_say().

◆ speechd_destroy()

static void speechd_destroy ( struct speech_priv this)
static

◆ speechd_new()

static struct speech_priv* speechd_new ( struct speech_methods meth,
struct attr **  attrs,
struct attr parent 
)
static

◆ speechd_say()

static int speechd_say ( struct speech_priv this,
const char *  text 
)
static

◆ urldecode()

static char* urldecode ( char *  str)
static

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Referenced by speech_cmdline_search().

Variable Documentation

◆ speechd_meth

struct speech_methods speechd_meth
static
Initial value:
= {
}
static void speechd_destroy(struct speech_priv *this)
Definition: speech_cmdline.c:188
static int speechd_say(struct speech_priv *this, const char *text)
Definition: speech_cmdline.c:112

Referenced by speechd_new().