aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QUtil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QUtil.cc')
-rw-r--r--libqpdf/QUtil.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/libqpdf/QUtil.cc b/libqpdf/QUtil.cc
index a000d82e..0d0b4667 100644
--- a/libqpdf/QUtil.cc
+++ b/libqpdf/QUtil.cc
@@ -14,6 +14,7 @@
#include <unistd.h>
#endif
+DLL_EXPORT
std::string
QUtil::int_to_string(int num, int fullpad)
{
@@ -41,6 +42,7 @@ QUtil::int_to_string(int num, int fullpad)
return std::string(t);
}
+DLL_EXPORT
std::string
QUtil::double_to_string(double num, int decimal_places)
{
@@ -76,6 +78,7 @@ QUtil::double_to_string(double num, int decimal_places)
return std::string(t);
}
+DLL_EXPORT
int
QUtil::os_wrapper(std::string const& description, int status) throw (QEXC::System)
{
@@ -86,6 +89,7 @@ QUtil::os_wrapper(std::string const& description, int status) throw (QEXC::Syste
return status;
}
+DLL_EXPORT
FILE*
QUtil::fopen_wrapper(std::string const& description, FILE* f) throw (QEXC::System)
{
@@ -96,6 +100,7 @@ QUtil::fopen_wrapper(std::string const& description, FILE* f) throw (QEXC::Syste
return f;
}
+DLL_EXPORT
char*
QUtil::copy_string(std::string const& str)
{
@@ -106,6 +111,7 @@ QUtil::copy_string(std::string const& str)
return result;
}
+DLL_EXPORT
void
QUtil::binary_stdout()
{
@@ -114,6 +120,7 @@ QUtil::binary_stdout()
#endif
}
+DLL_EXPORT
void
QUtil::binary_stdin()
{
@@ -122,6 +129,7 @@ QUtil::binary_stdin()
#endif
}
+DLL_EXPORT
char*
QUtil::getWhoami(char* argv0)
{
@@ -149,6 +157,7 @@ QUtil::getWhoami(char* argv0)
return whoami;
}
+DLL_EXPORT
bool
QUtil::get_env(std::string const& var, std::string* value)
{
@@ -186,6 +195,7 @@ QUtil::get_env(std::string const& var, std::string* value)
#endif
}
+DLL_EXPORT
time_t
QUtil::get_current_time()
{
@@ -212,6 +222,7 @@ QUtil::get_current_time()
#endif
}
+DLL_EXPORT
std::string
QUtil::toUTF8(unsigned long uval)
{