File: fo-length-range-private.h

package info (click to toggle)
xmlroff 0.6.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 36,456 kB
  • sloc: ansic: 178,247; xml: 109,155; sh: 8,973; makefile: 1,331; perl: 30
file content (40 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Fo
 * fo-length-range-private.h: Structures private to length-range datatype
 *
 * Copyright (C) 2001 Sun Microsystems
 * Copyright (C) 2007 Menteith Consulting Ltd
 *
 * See COPYING for the status of this software.
 */

#ifndef __FO_LENGTH_RANGE_PRIVATE_H__
#define __FO_LENGTH_RANGE_PRIVATE_H__

#include <libfo/datatype/fo-datatype.h>
#include <libfo/datatype/fo-datatype-private.h>

G_BEGIN_DECLS

struct _FoLengthRange
{
  FoDatatype parent_instance;

  FoDatatype *minimum;
  FoDatatype *optimum;
  FoDatatype *maximum;
};

struct _FoLengthRangeClass
{
  FoDatatypeClass parent_class;
  FoDatatype* (*resolve) (FoDatatype *shortform,
			  FoDatatype *minimum,
			  FoDatatype *optimum,
			  FoDatatype *maximum,
			  FoDatatype *hundred_percent,
			  GError **error);
};

G_END_DECLS

#endif /* !__FO_LENGTH_RANGE_PRIVATE_H__ */