-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfops.h
45 lines (35 loc) · 1.39 KB
/
fops.h
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
/*
* (C) 1997 by Marcin Dalecki <[email protected]>
*
* This file is part of the Motif Info browser.
*
* The MInfo program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef FILE_OPS_H
#define FILE_OPS_H
#include "parse.h"
extern char *file_path;
/*
* Lookup the file NAME in the PATH separated by ':'.
* If the path is empty, we are assuming the current directory.
* The return valus is a string of the the files contents.
*/
extern char *lookup_file_in_path(char *name, char *path);
extern struct page *lookup_node_in_file(char *node, char *file);
extern Widget top_level;
extern void file_cb(Widget widget, XtPointer client_data, XtPointer call_data);
extern void book_cb(Widget widget, XtPointer client_data, XtPointer call_data);
#endif