diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 17:43:51 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 17:43:51 +0200 |
commit | 57217567c66fdc728387e7222b2044a1cd0d68a6 (patch) | |
tree | 6bc7977458af82161323c297a2d0396c86db49c1 /inc | |
parent | f4b916d62e69bd2e6ff9690456a4a4557f449d24 (diff) | |
download | abrt-57217567c66fdc728387e7222b2044a1cd0d68a6.tar.gz abrt-57217567c66fdc728387e7222b2044a1cd0d68a6.tar.xz abrt-57217567c66fdc728387e7222b2044a1cd0d68a6.zip |
preparatory patch for dirsize.cpp -> dirsize.c conversion
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/abrtlib.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h index c37ff206..0dc3d86d 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -173,6 +173,13 @@ char* xmalloc_sockaddr2dotted_noport(const struct sockaddr *sa); /* Random utility functions */ +double get_dirsize(const char *pPath); +double get_dirsize_find_largest_dir( + const char *pPath, + char **worst_dir, /* can be NULL */ + const char *excluded /* can be NULL */ +); + /* Returns command line of running program. * Caller is responsible to free() the returned value. * If the pid is not valid or command line can not be obtained, @@ -190,12 +197,6 @@ int daemon_is_ok(); /* C++ style stuff */ #ifdef __cplusplus -double get_dirsize(const char *pPath); -double get_dirsize_find_largest_dir( - const char *pPath, - std::string *worst_dir = NULL, - const char *excluded = NULL); - std::string unsigned_to_string(unsigned long long x); std::string signed_to_string(long long x); template <class T> inline |