beta-0.89.2
[luatex.git] / source / texk / web2c / synctexdir / synctex-common.h
blob41057363d4c13010bb8803b834237095c9651988
1 /* synctex-common.h
3 This file is part of the SyncTeX package.
5 Permission is hereby granted, free of charge, to any person
6 obtaining a copy of this software and associated documentation
7 files (the "Software"), to deal in the Software without
8 restriction, including without limitation the rights to use,
9 copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following
12 conditions:
14 The above copyright notice and this permission notice shall be
15 included in all copies or substantial portions of the Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 OTHER DEALINGS IN THE SOFTWARE
26 Acknowledgments:
27 ----------------
28 The author received useful remarks from the pdfTeX developers, especially Hahn The Thanh,
29 and significant help from XeTeX developer Jonathan Kew
31 Nota Bene:
32 ----------
33 If you include or use a significant part of the synctex package into a software,
34 I would appreciate to be listed as contributor and see "SyncTeX" highlighted.
36 Version 1
37 Latest Revision: Wed Jul 1 08:07:50 UTC 2009
41 # ifndef __SYNCTEX_COMMON_HEADER__
42 # define __SYNCTEX_COMMON_HEADER__
44 /* Send this message to init the synctex command value to the command line option.
45 * Sending this message too early will cause a bus error. */
46 extern void synctexinitcommand(void);
48 /* Send this message to clean memory, and close the file. */
49 extern void synctexterminate(int log_opened);
51 # endif