aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2009-10-17 17:16:32 -0400
committerJason Woodward2009-10-17 17:16:32 -0400
commitc77c20ebbf4e80986b433cd7c5a601fc11a48485 (patch)
tree17a6ef8fd962a2036a568a3b6a6e131235aa29e4 /src/common.h
parentde850b9fe3c773cf553457c9dea49f0a6c45253a (diff)
downloadslapt-get-c77c20ebbf4e80986b433cd7c5a601fc11a48485.tar.gz
* modified disk checking mechanism so that the working directory filesystem0.10.2b
is checked for downloads and then / is checked for the uncompressed size. This is not 100% ideal since /usr may be on another filestem but it should make Tadgy slightly happier. Added slapt_disk_space_check to public API.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index c92dc24..0390e45 100644
--- a/src/common.h
+++ b/src/common.h
@@ -72,3 +72,4 @@ __inline void *slapt_calloc(size_t n,size_t s);
const char *slapt_strerror(slapt_code_t code);
/* return human readable priority */
const char *slapt_priority_to_str(SLAPT_PRIORITY_T priority);
+SLAPT_BOOL_T slapt_disk_space_check (const char *path,double space_needed);