diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
commit | 1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch) | |
tree | a83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYGetFile.h | |
parent | bed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff) | |
download | lynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz |
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYGetFile.h')
-rw-r--r-- | src/LYGetFile.h | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/LYGetFile.h b/src/LYGetFile.h index 28b379e0..f204d07c 100644 --- a/src/LYGetFile.h +++ b/src/LYGetFile.h @@ -3,20 +3,22 @@ #include <LYStructs.h> +#ifdef __cplusplus +extern "C" { +#endif #define NOT_FOUND 0 #define NORMAL 1 #define NULLFILE 3 + extern int getfile(DocInfo *doc, int *target); + extern void srcmode_for_next_retrieval(int); + extern int follow_link_number(int c, + int cur, + DocInfo *doc, + int *num); + extern void add_trusted(char *str, int type); + extern BOOLEAN exec_ok(const char *source, const char *linkpath, int type); -extern int getfile(DocInfo *doc, int *target); -extern void srcmode_for_next_retrieval(int); -extern int follow_link_number(int c, - int cur, - DocInfo *doc, - int *num); -extern void add_trusted(char *str, int type); -extern BOOLEAN exec_ok(const char *source, const char *linkpath, int type); - -extern char *WWW_Download_File; + extern char *WWW_Download_File; /* values for follow_link_number() */ #define DO_LINK_STUFF 1 @@ -30,4 +32,7 @@ extern char *WWW_Download_File; #define ALWAYS_EXEC_PATH 1 #define CGI_PATH 2 -#endif /* LYGETFILE_H */ +#ifdef __cplusplus +} +#endif +#endif /* LYGETFILE_H */ |