~ubuntu-branches/ubuntu/oneiric/similarity-tester/oneiric

« back to all changes in this revision

Viewing changes to add_run.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2007-09-03 18:57:36 UTC
  • Revision ID: james.westby@ubuntu.com-20070903185736-1w4z8cpfuwbbwe7a
Tags: upstream-2.21
ImportĀ upstreamĀ versionĀ 2.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*      This file is part of the software similarity tester SIM.
 
2
        Written by Dick Grune, Vrije Universiteit, Amsterdam.
 
3
        $Id: add_run.h,v 1.1 2001/09/28 09:03:39 dick Exp $
 
4
*/
 
5
 
 
6
/*      Interface between front-end and back-end: all information about
 
7
        runs passes through add_run().  Its parameters are the two chunks,
 
8
        each identified by their struct text and the position of the common
 
9
        segment in TokenArray[], and the number of tokens in the common
 
10
        segment.
 
11
*/
 
12
 
 
13
void add_run(
 
14
        struct text *txt0,              /* text of first chunk */
 
15
        unsigned int i0,                /* chunk position in TokenArray[] */
 
16
        struct text *txt1,              /* text of second chunk */
 
17
        unsigned int i1,                /* chunk position in TokenArray[] */
 
18
        unsigned int size               /* number of tokens in the chunk */
 
19
);