aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-21 16:10:51 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-21 16:10:51 +0000
commitab4a8ba818d6fa8d237a55639c7361b376162f81 (patch)
tree168c9ad6a661034c16221bd7fcbc4ee9941c2489 /src/include
parentc145229d7f609447ec9342f60643c62e35bd553f (diff)
downloadopen-axiom-ab4a8ba818d6fa8d237a55639c7361b376162f81.tar.gz
* include/cfuns.h (oa_get_tmpdir): Declare.
(oa_access_file_for_read): Likewise. * lib/cfuns-c.c (oa_getcwd): Define. (oa_access_file_for_read): Likewise. (oa_get_tmpdir): Likewise. * hyper/addfile.c: Don't include hyper.h (build_ht_filename): Use oa_getcwd, oa_access_file_for_read. (temp_file_open): Use oa_get_tmpdir. * hyper/htadd.c (build_db_filename): Don't fall back to bogus filename. * hyper/hyper.h (temp_dir): Remove. (def_spad): Likewise.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cfuns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cfuns.h b/src/include/cfuns.h
index 52ad54f7..21f5d037 100644
--- a/src/include/cfuns.h
+++ b/src/include/cfuns.h
@@ -51,5 +51,8 @@ OPENAXIOM_EXPORT int oa_rename(const char*, const char*);
OPENAXIOM_EXPORT int oa_mkdir(const char*);
OPENAXIOM_EXPORT int oa_system(const char*);
OPENAXIOM_EXPORT char* oa_getenv(const char*);
+OPENAXIOM_EXPORT char* oa_getcwd(void);
+OPENAXIOM_EXPORT int oa_access_file_for_read(const char*);
+OPENAXIOM_EXPORT const char* oa_get_tmpdir(void);
#endif /* OPENAXIOM_CFUNS_included */