summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/abrtlib.h5
-rw-r--r--lib/utils/Makefile.am2
-rw-r--r--lib/utils/encbase64.c (renamed from lib/utils/encbase64.cpp)0
3 files changed, 3 insertions, 4 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 5df598f4..70e0a8bd 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -84,6 +84,8 @@ off_t copyfd_eof(int src_fd, int dst_fd, int flags);
off_t copyfd_size(int src_fd, int dst_fd, off_t size, int flags);
void copyfd_exact_size(int src_fd, int dst_fd, off_t size);
off_t copy_file(const char *src_name, const char *dst_name, int mode);
+/* Returns malloc'ed block */
+char *encode_base64(const void *src, int length);
#ifdef __cplusplus
}
#endif
@@ -179,9 +181,6 @@ char* get_cmdline(pid_t pid);
/* Returns 1 if abrtd daemon is running, 0 otherwise. */
int daemon_is_ok();
-/* Returns malloc'ed block */
-char *encode_base64(const void *src, int length);
-
/* C++ style stuff */
#ifdef __cplusplus
double get_dirsize(const char *pPath);
diff --git a/lib/utils/Makefile.am b/lib/utils/Makefile.am
index e5902ec3..0fe651db 100644
--- a/lib/utils/Makefile.am
+++ b/lib/utils/Makefile.am
@@ -13,7 +13,7 @@ libABRTUtils_la_SOURCES = \
xfuncs.c \
concat_path_file.c \
append_to_malloced_string.c \
- encbase64.cpp \
+ encbase64.c \
read_write.c read_write.h \
logging.c logging.h \
copyfd.c \
diff --git a/lib/utils/encbase64.cpp b/lib/utils/encbase64.c
index 6a6f1f75..6a6f1f75 100644
--- a/lib/utils/encbase64.cpp
+++ b/lib/utils/encbase64.c