~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to lib/filter/filter.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: filter.h,v 1.2 2008/02/26 16:43:51 arif Exp $ $Revision: 1.2 $ */
 
2
/* vim:set shiftwidth=4 ts=8: */
 
3
 
 
4
/**********************************************************
 
5
*      This software is part of the graphviz package      *
 
6
*                http://www.graphviz.org/                 *
 
7
*                                                         *
 
8
*            Copyright (c) 1994-2004 AT&T Corp.           *
 
9
*                and is licensed under the                *
 
10
*            Common Public License, Version 1.0           *
 
11
*                      by AT&T Corp.                      *
 
12
*                                                         *
 
13
*        Information and Software Systems Research        *
 
14
*              AT&T Research, Florham Park NJ             *
 
15
**********************************************************/
 
16
 
 
17
#ifndef FILTER_H
 
18
#define FILTER_H
 
19
#include "btree.h"
 
20
 
 
21
typedef struct _tv_filters
 
22
{
 
23
        tv_filter** filters;
 
24
        int filter_count;
 
25
}tv_filters;
 
26
 
 
27
int clear_filter(tv_filter* f);
 
28
int init_filters(tv_filters* filters);
 
29
int add_filter_to_filters(tv_filters* filters,tv_filter* filter);
 
30
int clear_filters(tv_filters* filters);
 
31
int union_filter(tv_filter* f1,tv_filter* f2);
 
32
int intersect_filter(tv_filter* f1,tv_filter* f2);
 
33
 
 
34
#endif