summaryrefslogtreecommitdiffstats
path: root/printing/backend/cups_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/backend/cups_helper.cc')
-rw-r--r--printing/backend/cups_helper.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/printing/backend/cups_helper.cc b/printing/backend/cups_helper.cc
index 2c3b853..7df5302 100644
--- a/printing/backend/cups_helper.cc
+++ b/printing/backend/cups_helper.cc
@@ -37,6 +37,10 @@ HttpConnectionCUPS::~HttpConnectionCUPS() {
httpClose(http_);
}
+void HttpConnectionCUPS::SetBlocking(bool blocking) {
+ httpBlocking(http_, blocking ? 1 : 0);
+}
+
http_t* HttpConnectionCUPS::http() {
return http_;
}