This file is indexed.

/usr/lib/ocaml/galax/project_context.mli is in libgalax-ocaml-dev 1.1-12.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: project_context.mli,v 1.5 2007/02/01 22:08:52 simeon Exp $ *)

(* Module: Project_context
   Description:
     This module implements the context used during projection.
*)


(* Type used for the projection context *)

type project_context


(* Builds a new projection context *)

val build_project_context :
    Streaming_types.resolved_xml_stream ->
      Path_struct.path_fragment_sequence ->
	Streaming_types.resolved_sax_event list -> project_context


(* Accessors to the projection context *)

val get_pfs            : project_context -> Path_struct.path_fragment_sequence option
val get_local_buffer   : project_context -> Streaming_types.resolved_sax_event list
val get_next_xml_event : project_context -> Streaming_types.resolved_sax_event

(* Added accessor function to underlying input stream.
   - Michael *)
val project_stream_is_empty : project_context -> bool
val get_stream         : project_context -> Streaming_types.resolved_xml_stream

val get_next_buffered_sax_event  : project_context -> Streaming_types.resolved_sax_event option
val peek_next_buffered_sax_event : project_context -> Streaming_types.resolved_sax_event option


(* Change the local_buffer *)

val refill_local_buffer  : project_context -> Streaming_types.resolved_sax_event list -> unit

val push_project_context_get_subtree :
    project_context -> Streaming_types.resolved_sax_event -> unit

val push_project_context_keep_moving_skip_node :
    project_context -> Streaming_types.resolved_sax_event -> Path_struct.path_fragment_sequence -> unit

val push_project_context_keep_moving_preserve_node :
    project_context -> Streaming_types.resolved_sax_event -> Path_struct.path_fragment_sequence -> unit

val push_project_context_preserve_node :
    project_context -> Streaming_types.resolved_sax_event list -> unit

val push_project_context_skip_node :
    project_context -> unit

val pop_project_context  : project_context -> Streaming_types.resolved_sax_event list -> unit