summaryrefslogtreecommitdiff
path: root/scheduler/client.h
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2016-06-21 11:57:03 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2016-06-21 11:57:03 -0400
commit1166bf58660ab483d7d743f05f5da84b56202a16 (patch)
tree11944e5b87f518ca0e25c7721a12e7fec3c4a161 /scheduler/client.h
parent6ee5217845b2392402a50906b25eb242de753f6a (diff)
downloadcups-1166bf58660ab483d7d743f05f5da84b56202a16.tar.gz
Do some cleanup for the on-demand support - remove old launchd support (no
longer needed), naming/style updates, fix compiler warnings.
Diffstat (limited to 'scheduler/client.h')
-rw-r--r--scheduler/client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scheduler/client.h b/scheduler/client.h
index f97f41def..d58d11148 100644
--- a/scheduler/client.h
+++ b/scheduler/client.h
@@ -1,7 +1,7 @@
/*
* Client definitions for the CUPS scheduler.
*
- * Copyright 2007-2014 by Apple Inc.
+ * Copyright 2007-2016 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -79,7 +79,7 @@ typedef struct
int fd; /* File descriptor for this server */
http_addr_t address; /* Bind address of socket */
http_encryption_t encryption; /* To encrypt or not to encrypt... */
-#if defined(HAVE_ONDEMAND)
+#ifdef HAVE_ONDEMAND
int on_demand; /* Is this a socket from launchd/systemd/upstart? */
#endif /* HAVE_ONDEMAND */
} cupsd_listener_t;