From 57217567c66fdc728387e7222b2044a1cd0d68a6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 30 Aug 2010 17:43:51 +0200 Subject: preparatory patch for dirsize.cpp -> dirsize.c conversion Signed-off-by: Denys Vlasenko --- inc/abrtlib.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'inc') 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 inline -- cgit