~ubuntu-branches/ubuntu/breezy/malaga/breezy

« back to all changes in this revision

Viewing changes to source/breakpoints.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2005-01-10 11:52:04 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110115204-hpgncw5pb0m1t8i6
Tags: 6.13-5
debian/control (malaga-doc Recommends): Suggest gv as a
postscript-viewer instead of ghostview.  (Closes: #289701).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of Malaga, a system for Natural Language Analysis.
2
 
 * Copyright (C) 1995-1999 Bjoern Beutel
3
 
 *
4
 
 * Bjoern Beutel
5
 
 * Universitaet Erlangen-Nuernberg
6
 
 * Abteilung fuer Computerlinguistik
7
 
 * Bismarckstrasse 12
8
 
 * D-91054 Erlangen
9
 
 * e-mail: malaga@linguistik.uni-erlangen.de 
10
 
 *
11
 
 * This program is free software; you can redistribute it and/or modify
12
 
 * it under the terms of the GNU General Public License as published by
13
 
 * the Free Software Foundation; either version 2 of the License, or
14
 
 * (at your option) any later version.
15
 
 *
16
 
 * This program is distributed in the hope that it will be useful,
17
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 
 * GNU General Public License for more details.
20
 
 *
21
 
 * You should have received a copy of the GNU General Public License
22
 
 * along with this program; if not, write to the Free Software
23
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
24
 
 
25
 
/* description ==============================================================*/
26
 
 
27
 
/* In this file, the administration of breakpoints is managed. */
28
 
 
29
 
/* types ====================================================================*/
30
 
 
31
 
typedef struct /* associates a rule system with a name */
32
 
{
33
 
  rule_sys_t *rule_sys;
34
 
  string_t name; /* name of the above rule system */
35
 
} rule_sys_name_t;
36
 
 
37
 
/* functions ================================================================*/
38
 
 
39
 
extern int_t at_breakpoint (rule_sys_t *rule_sys, int_t instruction);
40
 
/* Return breakpoint number if <instruction> in <rule_sys> hits a breakpoint; 
41
 
 * return 0 else. */
42
 
 
43
 
extern void init_breakpoints (int_t num_rule_sys, rule_sys_name_t rule_sys[]);
44
 
/* Initialise this module. Pass the number of rule systems in <num_rule_sys> 
45
 
 * and their names in <rule_sys>. */
46
 
 
47
 
extern void terminate_breakpoints (void); 
48
 
/* Terminate this module. */
49
 
 
50
 
/* commands =================================================================*/
51
 
 
52
 
extern command_t delete_command;
53
 
/* Delete a breakpoint. */
54
 
 
55
 
extern command_t break_command;
56
 
/* Define a breakpoint. */
57
 
 
58
 
extern command_t list_command;
59
 
/* List breakpoints. */
60
 
 
61
 
/* end of file ==============================================================*/