about summary refs log blame commit diff stats
path: root/src/LYGetFile.h
blob: 7dbc7b5b111bbf98f40ef47b5d664853fb910364 (plain) (tree)
1
2
3
4
5
6
7
8
9


                   

                      



                   
                                          
                                                     


                                      
                            
                              
                                                      
                                                                                    
 

                                





                                     






                                            
#ifndef LYGETFILE_H
#define LYGETFILE_H

#include <LYStructs.h>

#define NOT_FOUND 0
#define NORMAL 1
#define NULLFILE 3

extern int getfile PARAMS((DocInfo *doc));
extern void srcmode_for_next_retrieval PARAMS((int));
extern int follow_link_number PARAMS((
	int		c,
	int		cur,
	DocInfo *	doc,
	int *		num));
extern void add_trusted PARAMS((char *str, int type));
extern BOOLEAN exec_ok PARAMS((CONST char *source, CONST char *linkpath, int type));

extern char * WWW_Download_File;

/* values for follow_link_number() */
#define DO_LINK_STUFF		1
#define DO_GOTOLINK_STUFF	2
#define DO_GOTOPAGE_STUFF	3
#define DO_FORMS_STUFF		4
#define PRINT_ERROR		5

/* values for add_trusted() and exec_ok() */
#define EXEC_PATH 0
#define ALWAYS_EXEC_PATH  1
#define CGI_PATH  2

#endif /* LYGETFILE_H */