~ubuntu-branches/ubuntu/trusty/speech-dispatcher/trusty-proposed

« back to all changes in this revision

Viewing changes to src/server/parse.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Samuel Thibault, Luke Yelavich, Jason White, David Henningsson
  • Date: 2013-11-11 16:38:46 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20131111163846-lvu37ypp5sy9z5so
Tags: 0.8-0ubuntu1
[ Samuel Thibault ]
* debian/control: Set libspeechd2 multi-arch: same.
* debian/rules: Set multiarch libdir.
* debian/libspeechd-dev.install,libspeechd2.install,
  speech-dispatcher.install: Use multiarch libdir.
* Do not depend on dpkg | install-info, now that we use the install-info
  trigger.
* Bump Standards-Version to 3.9.5.
* Bump dotconf dependency to >= 1.3.

[ Luke Yelavich ]
* New upstream release
* debian/patches/infinite-loop.patch: Refreshed
* Dropped patches:
  - debian/patches/build-doc.patch
  - debian/patches/procname.patch
  - debian/patches/paths+files.patch
  - debian/patches/pthread.patch
* Add libltdl-dev and intltool to build-depends
* Update packaging for speech-dispatcher python 3 bindings.
* Move speech-dispatcher modules to an architecture independant dir, since
  modules can be written in any language, and i386 only modules can be
  used on amd64 systems
* Create separate audio plugins package
* Convert to debhelper 7+ packaging.
* Use dh-autoreconf to handle autotools file rebuilds.
* Update standards version to 3.9.3.
* Add X-Python-Version related fields to debian/control.
* Patch in the speech-dispatcher-cs.texi file since it was forgotten in the
  0.8 tarball
* Add translations to speech-dispatcher
* Merge from debian unreleased git.  Remaining changes:
  - Moved the flite output module to a separate package, and added
    it to suggests, we don't want flite on the Ubuntu CD image
  - Don't build depend on libaudio-dev or libao-dev, Ubuntu CD size is an
    issue, every little bit helps
  - debian/gbp.conf: Adjust for the Ubuntu git branch
  - Python3-speechd needs to conflict against python-speechd

[ Jason White ]
* Raise level of subsection in fdl.texi to correct document structure.

[ David Henningsson ]
* debian/patches/pulse-default-latency.patch:
  Default to 20 ms latency instead of 1 ms latency (LP: #1208826)

[ Luke Yelavich ]
* spd_audio: Expose dlopened library's symbols to libs it loads. Thanks to
  Christopher Brannon <chris@the-brannons.com> for the patch, taken from
  the speech-dispatcher mailing list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
#ifndef PARSE_H
3
 
 #define PARSE_H
4
 
 
5
 
char* parse(const char* buf, const int bytes, const int fd);
6
 
 
7
 
char* parse_history(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
8
 
char* parse_set(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
9
 
char* parse_stop(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
10
 
char* parse_cancel(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
11
 
char* parse_pause(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
12
 
char* parse_resume(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
13
 
char* parse_snd_icon(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
14
 
char* parse_char(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
15
 
char* parse_key(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
16
 
char* parse_list(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
17
 
char* parse_get(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
18
 
char* parse_help(const char* buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket);
19
 
char* parse_block(const char* buf, const int bytes, const int fd, TSpeechDSock* speechd_socket);
20
 
 
21
 
char* deescape_dot(const char *orig_text, size_t orig_len);
 
3
#define PARSE_H
 
4
 
 
5
char *parse(const char *buf, const int bytes, const int fd);
 
6
 
 
7
char *parse_history(const char *buf, const int bytes, const int fd,
 
8
                    const TSpeechDSock * speechd_socket);
 
9
char *parse_set(const char *buf, const int bytes, const int fd,
 
10
                const TSpeechDSock * speechd_socket);
 
11
char *parse_stop(const char *buf, const int bytes, const int fd,
 
12
                 const TSpeechDSock * speechd_socket);
 
13
char *parse_cancel(const char *buf, const int bytes, const int fd,
 
14
                   const TSpeechDSock * speechd_socket);
 
15
char *parse_pause(const char *buf, const int bytes, const int fd,
 
16
                  const TSpeechDSock * speechd_socket);
 
17
char *parse_resume(const char *buf, const int bytes, const int fd,
 
18
                   const TSpeechDSock * speechd_socket);
 
19
char *parse_snd_icon(const char *buf, const int bytes, const int fd,
 
20
                     const TSpeechDSock * speechd_socket);
 
21
char *parse_char(const char *buf, const int bytes, const int fd,
 
22
                 const TSpeechDSock * speechd_socket);
 
23
char *parse_key(const char *buf, const int bytes, const int fd,
 
24
                const TSpeechDSock * speechd_socket);
 
25
char *parse_list(const char *buf, const int bytes, const int fd,
 
26
                 const TSpeechDSock * speechd_socket);
 
27
char *parse_get(const char *buf, const int bytes, const int fd,
 
28
                const TSpeechDSock * speechd_socket);
 
29
char *parse_help(const char *buf, const int bytes, const int fd,
 
30
                 const TSpeechDSock * speechd_socket);
 
31
char *parse_block(const char *buf, const int bytes, const int fd,
 
32
                  TSpeechDSock * speechd_socket);
 
33
 
 
34
char *deescape_dot(const char *orig_text, size_t orig_len);
22
35
 
23
36
/* Function for parsing the input from clients */
24
 
char* get_param(const char *buf, const int n, const int bytes, const int lower_case);
 
37
char *get_param(const char *buf, const int n, const int bytes,
 
38
                const int lower_case);
25
39
 
26
40
/* Other internal functions */
27
 
char* parse_general_event(const char *buf, const int bytes, const int fd, const TSpeechDSock* speechd_socket,
28
 
                          EMessageType type);
29
 
int spd_utf8_read_char(char* pointer, char* character);
 
41
char *parse_general_event(const char *buf, const int bytes, const int fd,
 
42
                          const TSpeechDSock * speechd_socket,
 
43
                          SPDMessageType type);
 
44
int spd_utf8_read_char(char *pointer, char *character);
30
45
 
31
46
#endif