/*
- * "$Id: server.c 7927 2008-09-10 22:05:29Z mike $"
+ * "$Id$"
*
* Server start/stop routines for the CUPS scheduler.
*
- * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2007-2012 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
void
cupsdStartServer(void)
{
+ /*
+ * Start color management (as needed)...
+ */
+
+ cupsdStartColor();
+
/*
* Create the default security profile...
*/
cupsdStartListening();
cupsdStartBrowsing();
- cupsdStartPolling();
/*
* Create a pipe for CGI processes...
return;
/*
- * Close all network clients and stop all jobs...
+ * Stop color management (as needed)...
+ */
+
+ cupsdStopColor();
+
+ /*
+ * Close all network clients...
*/
cupsdCloseAllClients();
cupsdStopListening();
- cupsdStopPolling();
cupsdStopBrowsing();
cupsdStopAllNotifiers();
cupsdDeleteAllCerts();
CGIPipes[1] = -1;
}
-#ifdef HAVE_NOTIFY_POST
- /*
- * Send one last notification as the server shuts down.
- */
-
- cupsdLogMessage(CUPSD_LOG_DEBUG2,
- "notify_post(\"com.apple.printerListChange\") last");
- notify_post("com.apple.printerListChange");
-#endif /* HAVE_NOTIFY_POST */
-
/*
* Close all log files...
*/
/*
- * End of "$Id: server.c 7927 2008-09-10 22:05:29Z mike $".
+ * End of "$Id$".
*/