#
-# "$Id$"
-#
# Common makefile definitions for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
echo -n Compressing $<...
$(RM) $@
gzip -v9 <$< >$@
-
-
-#
-# End of "$Id$"
-#
#
-# "$Id$"
-#
# Top-level Makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
#
.NOTPARALLEL:
-
-
-#
-# End of "$Id$".
-#
#
-# "$Id$"
+# Backend makefile for CUPS.
#
-# Backend makefile for CUPS.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2014 by Apple Inc.
-# Copyright 1997-2007 by Easy Software Products, all rights reserved.
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
-#
-# This file is subject to the Apple OS-Developed Software exception.
+# This file is subject to the Apple OS-Developed Software exception.
#
include ../Makedefs
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* Backend support definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_BACKEND_PRIVATE_H_ */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* DNS-SD discovery backend for CUPS.
*
* Copyright 2008-2015 by Apple Inc.
*dst = '\0';
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* IEEE-1284 support functions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Line Printer Daemon backend for CUPS.
*
* Copyright 2007-2016 by Apple Inc.
abort_job = 1;
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Common backend network APIs for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (cupsSideChannelWrite(command, status, data, datalen, 1.0));
}
-
-
-/*
- * End of "$Id$".
- */
#!/bin/sh
#
-# "$Id$"
+# Psuedo-backend for CUPS testing purposes.
#
-# Psuedo-backend for CUPS testing purposes.
+# Copyright 2011 by Apple Inc.
#
-# Copyright 2011 by Apple Inc.
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
-#
-# This file is subject to the Apple OS-Developed Software exception.
+# This file is subject to the Apple OS-Developed Software exception.
#
if test $# = 0; then
cat $6 >/dev/null
sleep 5
exit 0
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* Common run loop APIs for CUPS backends.
*
* Copyright 2007-2014 by Apple Inc.
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* SNMP supplies functions for CUPS.
*
* Copyright 2008-2015 by Apple Inc.
cupsUTF32ToUTF8(dst, temp, (int)dstsize);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* SNMP discovery backend for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
list_device(device);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* AppSocket backend for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
else
return (-1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * IEEE-1284 support functions test program for CUPS.
*
- * IEEE-1284 support functions test program for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products, all rights reserved.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * "LICENSE" which should have been included with this file. If this
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file. If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Test the device-ID functions.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Backend test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
printf("CUPS_SC_CMD_SNMP_WALK %s, %d bytes (%s)\n", oid, datalen, temp);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * SNMP supplies test program for CUPS.
*
- * SNMP supplies test program for CUPS.
+ * Copyright 2008-2011 by Apple Inc.
*
- * Copyright 2008-2011 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * "LICENSE" which should have been included with this file. If this
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file. If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Show the supplies state of a printer.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
sleep(5);
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Copyright 2005-2015 Apple Inc. All rights reserved.
*
* IMPORTANT: This Apple software is supplied to you by Apple Computer,
asl_free(aslm);
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* LIBUSB interface code for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (errcode);
}
-
-
-/*
- * End of "$Id$".
- */
-
/*
- * "$Id$"
- *
* USB port backend for CUPS.
*
* This file is included from "usb.c" when compiled on UNIX/Linux.
return (cupsSideChannelWrite(command, status, data, datalen, 1.0));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * USB printer backend for CUPS.
*
- * USB port backend for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * "LICENSE" which should have been included with this file. If this
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file. If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * list_devices() - List all available USB devices to stdout.
- * print_device() - Print a file to a USB device.
- * main() - Send a file to the specified USB port.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Berkeley commands makefile for CUPS.
#
-# Berkeley commands makefile for CUPS.
+# Copyright 2007-2012 by Apple Inc.
+# Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
-# 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
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* "lpc" command for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
ippDelete(response);
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* "lpq" command for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
"[-l] [+interval]"));
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* "lpr" command for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "lprm" command for CUPS.
*
- * "lprm" command for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Parse options and cancel jobs.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
cupsSetUser(argv[i]);
}
break;
-
+
case 'h' : /* Connect to host */
if (argv[i][2] != '\0')
cupsSetServer(argv[i] + 2);
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# CGI makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* Administration CGI for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
else
return (NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private CGI definitions for CUPS.
*
- * Private CGI definitions for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
*/
#define CUPS_PAGE_MAX 100 /* Maximum items per page */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * CGI support library definitions for CUPS.
*
- * CGI support library definitions for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPS_CGI_H_
# endif /* __cplusplus */
#endif /* !_CUPS_CGI_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Class status CGI for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
cgiEndHTML();
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Online help index routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (_cups_strcasecmp(w1->text, w2->text));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Online help index definitions for CUPS.
*
- * Online help index definitions for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPS_HELP_INDEX_H_
# endif /* __cplusplus */
#endif /* !_CUPS_HELP_INDEX_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Online help CGI for CUPS.
*
- * Online help CGI for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Main entry for CGI.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * HTML support functions for CUPS.
*
- * HTML support functions for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * cgiEndHTML() - End a HTML page.
- * cgiEndMultipart() - End the delivery of a multipart web page.
- * cgiFormEncode() - Encode a string as a form variable.
- * cgiStartHTML() - Start a HTML page.
- * cgiStartMultipart() - Start a multipart delivery of a web page.
- * cgiSupportsMultipart() - Does the browser support multi-part documents?
- * cgi_null_passwd() - Return a NULL password for authentication.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* CGI <-> IPP variable routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (_cupsLangString(language, message));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Job status CGI for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
cgiEndHTML();
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Xcode documentation set generator.
*
- * Xcode documentation set generator.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
* Usage:
*
* makedocset directory *.tokens
- *
- * Contents:
- *
- * main() - Test the help index code.
- * compare_html() - Compare the titles of two HTML files.
- * compare_sections() - Compare the names of two help sections.
- * compare_sections_files() - Compare the number of files and section names.
- * write_index() - Write an index file for the CUPS help.
- * write_info() - Write the Info.plist file.
- * write_nodes() - Write the Nodes.xml file.
*/
/*
cupsFileClose(fp);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printer status CGI for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
cgiEndHTML();
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Search routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
{
regfree((regex_t *)search);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* CGI template function.
*
* Copyright 2007-2015 by Apple Inc.
s ++;
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* CGI test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Help index test program for CUPS.
*
- * Help index test program for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Test the help index code.
- * list_nodes() - List nodes in an array...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
printf(" (%d words)\n", cupsArrayCount(node->words));
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * CGI template test program for CUPS.
*
- * CGI template test program for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Test the template code.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* CGI form variable and array functions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
form_file = NULL;
}
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Configuration file makefile for CUPS.
#
-# Configuration file makefile for CUPS.
+# Copyright 2007-2015 by Apple Inc.
+# Copyright 1993-2006 by Easy Software Products.
#
-# Copyright 2007-2015 by Apple Inc.
-# Copyright 1993-2006 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
$(RM) $(BUILDROOT)$(PAMDIR)/cups; \
$(RMDIR) $(BUILDROOT)$(PAMDIR); \
fi
-
-
-#
-# End of "$Id$".
-#
dnl
-dnl "$Id$"
-dnl
dnl Common configuration stuff for CUPS.
dnl
dnl Copyright 2007-2015 by Apple Inc.
esac
AC_SUBST(BUILDDIRS)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Compiler stuff for CUPS.
dnl
dnl Copyright 2007-2014 by Apple Inc.
OPTIM="$OPTIM -D_GNU_SOURCE"
;;
esac
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Default cupsd configuration settings for CUPS.
dnl
-dnl Default cupsd configuration settings for CUPS.
+dnl Copyright 2007-2015 by Apple Inc.
+dnl Copyright 2006-2007 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2015 by Apple Inc.
-dnl Copyright 2006-2007 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
dnl Default languages...
AC_SUBST(CUPS_WEBIF)
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_WEBIF, $CUPS_DEFAULT_WEBIF)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Directory stuff for CUPS.
dnl
dnl Copyright 2007-2014 by Apple Inc.
esac])
AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")
AC_SUBST(CUPS_STATEDIR)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl DNS Service Discovery (aka Bonjour) stuff for CUPS.
dnl
-dnl DNS Service Discovery (aka Bonjour) stuff for CUPS.
+dnl Copyright 2007-2015 by Apple Inc.
dnl
-dnl Copyright 2007-2015 by Apple Inc.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_ARG_ENABLE(avahi, [ --disable-avahi disable DNS Service Discovery support using Avahi])
AC_SUBST(DNSSD_BACKEND)
AC_SUBST(IPPFIND_BIN)
AC_SUBST(IPPFIND_MAN)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl GSSAPI/Kerberos library detection for CUPS.
dnl
-dnl GSSAPI/Kerberos library detection for CUPS.
+dnl Copyright 2007-2013 by Apple Inc.
+dnl Copyright 2006-2007 by Easy Software Products.
dnl
-dnl Copyright 2007-2013 by Apple Inc.
-dnl Copyright 2006-2007 by Easy Software Products.
+dnl This file contains Kerberos support code, copyright 2006 by
+dnl Jelmer Vernooij.
dnl
-dnl This file contains Kerberos support code, copyright 2006 by
-dnl Jelmer Vernooij.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_ARG_ENABLE(gssapi, [ --disable-gssapi disable GSSAPI support])
AC_SUBST(CUPS_DEFAULT_GSSSERVICENAME)
AC_DEFINE_UNQUOTED(CUPS_DEFAULT_GSSSERVICENAME, "$CUPS_DEFAULT_GSSSERVICENAME")
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Large file support stuff for CUPS.
dnl
-dnl Large file support stuff for CUPS.
+dnl Copyright 2007-2011 by Apple Inc.
+dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2011 by Apple Inc.
-dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
dnl Check for largefile support...
fi
AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL))
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Libtool stuff for CUPS.
dnl
-dnl Libtool stuff for CUPS.
+dnl Copyright 2007-2011 by Apple Inc.
+dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2011 by Apple Inc.
-dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_ARG_ENABLE(libtool_unsupported, [ --enable-libtool-unsupported
LINKCUPSIMAGE="../filter/\$(LIBCUPSIMAGE)"
DSO="\$(CC)"
fi
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Manpage stuff for CUPS.
dnl
dnl Copyright 2007-2013 by Apple Inc.
AC_SUBST(MAN7EXT)
AC_SUBST(MAN8EXT)
AC_SUBST(MAN8DIR)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Networking stuff for CUPS.
dnl
dnl Copyright 2007-2014 by Apple Inc.
AC_SUBST(CUPS_DEFAULT_DOMAINSOCKET)
AC_SUBST(CUPS_LISTEN_DOMAINSOCKET)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Operating system stuff for CUPS.
dnl
-dnl Operating system stuff for CUPS.
+dnl Copyright 2007-2012 by Apple Inc.
+dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2012 by Apple Inc.
-dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
dnl Get the operating system, version number, and architecture...
uname="Linux"
;;
esac
-
-dnl
-dnl "$Id$"
-dnl
dnl
-dnl "$Id$"
-dnl
-dnl PAM stuff for CUPS.
+dnl PAM stuff for CUPS.
dnl
dnl Copyright 2007-2013 by Apple Inc.
dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
AC_SUBST(PAMLIBS)
AC_SUBST(PAMMOD)
AC_SUBST(PAMMODAUTH)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Select/poll stuff for CUPS.
dnl
-dnl Select/poll stuff for CUPS.
+dnl Copyright 2007-2011 by Apple Inc.
+dnl Copyright 2006 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2011 by Apple Inc.
-dnl Copyright 2006 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_CHECK_FUNC(poll, AC_DEFINE(HAVE_POLL))
AC_CHECK_FUNC(epoll_create, AC_DEFINE(HAVE_EPOLL))
AC_CHECK_FUNC(kqueue, AC_DEFINE(HAVE_KQUEUE))
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Scripting configuration stuff for CUPS.
dnl
-dnl Scripting configuration stuff for CUPS.
+dnl Copyright 2007-2010 by Apple Inc.
+dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2010 by Apple Inc.
-dnl Copyright 1997-2006 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
dnl Do we have Java?
if test "x$CUPS_PYTHON" != x; then
AC_DEFINE(HAVE_PYTHON)
fi
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Shared library support for CUPS.
dnl
dnl Copyright 2007-2013 by Apple Inc.
AC_SUBST(DSOLIBS)
AC_SUBST(IMGLIBS)
AC_SUBST(EXPORT_LDFLAGS)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl TLS stuff for CUPS.
dnl
dnl Copyright 2007-2015 by Apple Inc.
EXPORT_SSLLIBS="$SSLLIBS"
AC_SUBST(EXPORT_SSLLIBS)
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
-dnl
dnl Launch-on-demand/startup stuff for CUPS.
dnl
dnl Copyright 2007-2015 by Apple Inc.
elif test "x$xinetd" != xno; then
XINETD="$xinetd"
fi
-
-
-dnl
-dnl End of "$Id$".
-dnl
dnl
-dnl "$Id$"
+dnl Threading stuff for CUPS.
dnl
-dnl Threading stuff for CUPS.
+dnl Copyright 2007-2011 by Apple Inc.
+dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
dnl
-dnl Copyright 2007-2011 by Apple Inc.
-dnl Copyright 1997-2005 by Easy Software Products, all rights reserved.
-dnl
-dnl These coded instructions, statements, and computer programs are the
-dnl property of Apple Inc. and are protected by Federal copyright
-dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
-dnl which should have been included with this file. If this file is
-dnl file is missing or damaged, see the license at "http://www.cups.org/".
+dnl These coded instructions, statements, and computer programs are the
+dnl property of Apple Inc. and are protected by Federal copyright
+dnl law. Distribution and use rights are outlined in the file "LICENSE.txt"
+dnl which should have been included with this file. If this file is
+dnl file is missing or damaged, see the license at "http://www.cups.org/".
dnl
AC_ARG_ENABLE(threads, [ --disable-threads disable multi-threading support])
fi
AC_SUBST(PTHREAD_FLAGS)
-
-dnl
-dnl End of "$Id$".
-dnl
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for CUPS 2.2svn.
+# Generated by GNU Autoconf 2.68 for CUPS 2.2svn.
#
# Report bugs to <https://www.cups.org/str.php>.
#
#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
else
exitcode=1; echo positional parameters were not saved.
fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
+test x\$exitcode = x0 || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
+ # We cannot yet assume a decent shell, so we have to provide a
+ # neutralization value for shells without unset; and this also
+ # works around shells that cannot unset nonexistent variables.
+ # Preserve -v and -x to the replacement shell.
+ BASH_ENV=/dev/null
+ ENV=/dev/null
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+ export CONFIG_SHELL
+ case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+ esac
+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
fi
if test x$as_have_required = xno; then :
} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
chmod +x "$as_me.lineno" ||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # In both cases, we have to default to `cp -p'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
fi
else
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in #(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used" >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
if $ac_init_version; then
cat <<\_ACEOF
CUPS configure 2.2svn
-generated by GNU Autoconf 2.69
+generated by GNU Autoconf 2.68
-Copyright (C) 2012 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
- test -x conftest$ac_exeext
+ $as_test_x conftest$ac_exeext
}; then :
ac_retval=0
else
running configure, to aid debugging if configure makes a mistake.
It was created by CUPS $as_me 2.2svn, which was
-generated by GNU Autoconf 2.69. Invocation command line was
+generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
esac
-
ac_config_headers="$ac_config_headers config.h"
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_AWK="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
/* end confdefs.h. */
#include <stdarg.h>
#include <stdio.h>
-struct stat;
+#include <sys/types.h>
+#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CXX="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_XDGOPEN="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_GREP" || continue
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_EGREP" || continue
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
-
if test "$prefix" = "NONE"; then
prefix="/"
fi
-
if test "$mandir" = "\${datarootdir}/man" -a "$prefix" = "/"; then
# New GNU "standards" break previous ones, so make sure we use
# the right default location for the operating system...
-
PICFLAG=1
DSOFLAGS="${DSOFLAGS:=}"
-
# Check whether --enable-libtool_unsupported was given.
if test "${enable_libtool_unsupported+set}" = set; then :
enableval=$enable_libtool_unsupported; if test x$enable_libtool_unsupported != xno; then
fi
-
INSTALL_STRIP=""
OPTIM=""
-
ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "
#include <sys/socket.h>
#include <netinet/in.h>
-
ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
if test "x$ac_cv_func_poll" = xyes; then :
$as_echo "#define HAVE_POLL 1" >>confdefs.h
-
# Check whether --enable-gssapi was given.
if test "${enable_gssapi+set}" = set; then :
enableval=$enable_gssapi;
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ac_pt_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
-
# Check whether --enable-threads was given.
if test "${enable_threads+set}" = set; then :
enableval=$enable_threads;
-
# Check whether --enable-ssl was given.
if test "${enable_ssl+set}" = set; then :
enableval=$enable_ssl;
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_LIBGNUTLSCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ac_pt_LIBGNUTLSCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_LIBGCRYPTCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ac_pt_LIBGCRYPTCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
-
# Check whether --enable-pam was given.
if test "${enable_pam+set}" = set; then :
enableval=$enable_pam;
-
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then :
enableval=$enable_largefile;
esac
rm -rf conftest*
fi
-
-
fi
-
# Check whether --enable-avahi was given.
if test "${enable_avahi+set}" = set; then :
enableval=$enable_avahi;
-
ONDEMANDFLAGS=""
ONDEMANDLIBS=""
fi
-
-
LANGUAGES="`ls -1 locale/cups_*.po 2>/dev/null | sed -e '1,$s/locale\/cups_//' -e '1,$s/\.po//' | tr '\n' ' '`"
-
# Check whether --with-java was given.
if test "${with_java+set}" = set; then :
withval=$with_java; CUPS_JAVA="$withval"
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PHPCGI="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PHP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-
INSTALL_LANGUAGES=""
UNINSTALL_LANGUAGES=""
LANGFILES=""
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
+ # In both cases, we have to default to `cp -p'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
fi
else
- as_ln_s='cp -pR'
+ as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in #(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# values after options handling.
ac_log="
This file was extended by CUPS $as_me 2.2svn, which was
-generated by GNU Autoconf 2.69. Invocation command line was
+generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
CUPS config.status 2.2svn
-configured by $0, generated by GNU Autoconf 2.69,
+configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2012 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
chmod +x cups-config
-
dnl
-dnl "$Id$"
-dnl
dnl Configuration script for CUPS.
dnl
dnl Copyright 2007-2015 by Apple Inc.
$LANGFILES)
chmod +x cups-config
-
-dnl
-dnl End of "$Id$".
-dnl
#! /bin/sh
#
-# "$Id$"
+# CUPS configuration utility.
#
-# CUPS configuration utility.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 2001-2006 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 2001-2006 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
VERSION="@CUPS_VERSION@"
shift
done
-
-#
-# End of "$Id$".
-#
#
-# "$Id$"
-#
# API library Makefile for CUPS.
#
# Copyright 2007-2015 by Apple Inc.
include Dependencies
tls.o: tls-darwin.c tls-gnutls.c tls-sspi.c
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* Administration utility API definitions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
cupsFilePrintf(dstfp, "*JCLCloseUI: *%s\n\n", name);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Administration utility API definitions for CUPS.
*
- * Administration utility API definitions for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2001-2007 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 2001-2007 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_ADMINUTIL_H_
# endif /* __cplusplus */
#endif /* !_CUPS_ADMINUTIL_H_ */
-
-/*
- * End of "$Id$".
- */
<!--
- "$Id: api-array.header 7266 2008-01-29 02:15:29Z mike $"
-
Array API header for CUPS.
Copyright 2008-2011 by Apple Inc.
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
Array API introduction for CUPS.
Copyright 2007-2011 by Apple Inc.
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
CUPS API header for CUPS.
Copyright 2008-2011 by Apple Inc.
<!--
- "$Id: api-cups.shtml 7337 2008-02-22 04:44:04Z mike $"
-
API introduction for CUPS.
Copyright 2007-2013 by Apple Inc.
<!--
- "$Id: api-filedir.header 7279 2008-01-31 01:50:44Z mike $"
-
File and Directory API header for CUPS.
Copyright 2008-2011 by Apple Inc.
<!--
- "$Id: api-filedir.shtml 7279 2008-01-31 01:50:44Z mike $"
-
File and directory API introduction for CUPS.
Copyright 2007-2011 by Apple Inc.
<!--
- "$Id: api-filter.header 7616 2008-05-28 00:34:13Z mike $"
-
Filter and backend programming header for CUPS.
Copyright 2008-2014 by Apple Inc.
<!--
- "$Id: api-filter.shtml 7677 2008-06-19 23:22:19Z mike $"
-
Filter and backend programming introduction for CUPS.
Copyright 2007-2014 by Apple Inc.
<!--
- "$Id: api-httpipp.header 7258 2008-01-28 00:15:05Z mike $"
-
HTTP and IPP API header for CUPS.
Copyright 2007-2011 by Apple Inc.
<!--
- "$Id: api-httpipp.shtml 7684 2008-06-23 16:47:38Z mike $"
-
HTTP and IPP API introduction for CUPS.
Copyright 2007-2012 by Apple Inc.
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
Introduction to CUPS programming header for CUPS.
Copyright 2008-2011 by Apple Inc.
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
Introduction to CUPS programming content for CUPS.
Copyright 2008-2011 by Apple Inc.
<!--
- "$Id: api-ppd.header 7616 2008-05-28 00:34:13Z mike $"
-
PPD API header for CUPS.
Copyright 2008-2012 by Apple Inc.
<!--
- "$Id: api-ppd.shtml 7616 2008-05-28 00:34:13Z mike $"
-
PPD API introduction for CUPS.
Copyright 2007-2012 by Apple Inc.
/*
- * "$Id$"
+ * Private array definitions for CUPS.
*
- * Private array definitions for CUPS.
+ * Copyright 2011-2012 by Apple Inc.
*
- * Copyright 2011-2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_ARRAY_PRIVATE_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_ARRAY_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Sorted array routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (current);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Sorted array definitions for CUPS.
*
- * Sorted array definitions for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_ARRAY_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_ARRAY_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Authentication functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (1);
#endif /* WIN32 || __EMX__ */
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Backchannel functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
FD_ZERO(set);
FD_SET(3, set);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Backend functions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
putchar('\"');
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Backend definitions for CUPS.
*
- * Backend definitions for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_BACKEND_H_
# endif /* __cplusplus */
#endif /* !_CUPS_BACKEND_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private definitions for CUPS.
*
- * Private definitions for CUPS.
+ * Copyright 2007-2015 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2015 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_CUPS_PRIVATE_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_CUPS_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* API definitions for CUPS.
*
* Copyright 2007-2016 by Apple Inc.
# endif /* __cplusplus */
#endif /* !_CUPS_CUPS_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private debugging macros for CUPS.
*
- * Private debugging macros for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_DEBUG_PRIVATE_H_
# endif /* __cplusplus */
#endif /* !_CUPS_DEBUG_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Debugging functions for CUPS.
*
* Copyright 2008-2015 by Apple Inc.
return (bytes);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Destination localization support for CUPS.
*
* Copyright 2012-2014 by Apple Inc.
return (bufptr);
}
-
-
-
-/*
- * End of "$Id$".
- */
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, strerror(EINVAL), 0);
return (0);
}
-
+
if (nsize->size_name)
strlcpy(size->media, nsize->size_name, sizeof(size->media));
else if (nsize->key)
dinfo->ready_time = time(NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Directory routines for CUPS.
*
- * Directory routines for CUPS.
+ * This set of APIs abstracts enumeration of directory entries.
*
- * This set of APIs abstracts enumeration of directory entries.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * _cups_dir_time() - Convert a FILETIME value to a UNIX time value.
- * cupsDirClose() - Close a directory.
- * cupsDirOpen() - Open a directory.
- * cupsDirRead() - Read the next directory entry.
- * cupsDirRewind() - Rewind to the start of the directory.
- * cupsDirClose() - Close a directory.
- * cupsDirOpen() - Open a directory.
- * cupsDirRead() - Read the next directory entry.
- * cupsDirRewind() - Rewind to the start of the directory.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
rewinddir(dp->dir);
}
-
-
#endif /* WIN32 */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Public directory definitions for CUPS.
*
- * Public directory definitions for CUPS.
+ * This set of APIs abstracts enumeration of directory entries.
*
- * This set of APIs abstracts enumeration of directory entries.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPS_DIR_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_DIR_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Option encoding routines for CUPS.
*
* Copyright 2007-2016 by Apple Inc.
{
return (strcmp(a->name, b->name));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private file definitions for CUPS.
*
* Since stdio files max out at 256 files on many systems, we have to
# endif /* __cplusplus */
#endif /* !_CUPS_FILE_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* File functions for CUPS.
*
* Since stdio files max out at 256 files on many systems, we have to
return ((ssize_t)total);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Public file definitions for CUPS.
*
* Since stdio files max out at 256 files on many systems, we have to
}
# endif /* __cplusplus */
#endif /* !_CUPS_FILE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * cupsGetDevices implementation for CUPS.
*
- * cupsGetDevices implementation for CUPS.
+ * Copyright 2008-2013 by Apple Inc.
*
- * Copyright 2008-2013 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * cupsGetDevices() - Get available printer devices.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (cupsLastError());
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Network interface functions for CUPS.
*
- * Network interface functions for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file. If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * _cups_getifaddrs() - Get a list of network interfaces on the system.
- * _cups_freeifaddrs() - Free an interface list...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * "LICENSE" which should have been included with this file. If this
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
}
}
#endif /* !HAVE_GETIFADDRS */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Get/put file functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Global variable access routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
pthread_key_create(&cups_globals_key, (void (*)(void *))cups_globals_free);
}
#endif /* HAVE_PTHREAD_H */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Hashing function for CUPS.
*
* Copyright 2015 by Apple Inc.
_cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Hash buffer too small."), 1);
return (-1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* HTTP address routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
else
return (http->hostname);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* HTTP address list routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (first);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* HTTP routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (bytes);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Hyper-Text Transport Protocol definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_HTTP_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private IPP definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_IPP_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Internet Printing Protocol support functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return ((size_t)(bufptr - buffer));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Internet Printing Protocol functions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (write(*fd, buffer, length));
#endif /* WIN32 */
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Internet Printing Protocol definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_IPP_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Localized printf/puts functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private localization support for CUPS.
*
- * Private localization support for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_LANGUAGE_PRIVATE_H_
# endif /* __cplusplus */
#endif /* !_CUPS_LANGUAGE_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* I18N/language support for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
*d = '\0';
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Multi-language support for CUPS.
*
- * Multi-language support for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_LANGUAGE_H_
# endif /* __cplusplus */
#endif /* !_CUPS_LANGUAGE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private MD5 definitions for CUPS.
*
- * Private MD5 definitions for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2005 by Easy Software Products
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 2005 by Easy Software Products
+ * Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
*
- * Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any damages
+ * arising from the use of this software.
*
- * This software is provided 'as-is', without any express or implied
- * warranty. In no event will the authors be held liable for any damages
- * arising from the use of this software.
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
*
- * Permission is granted to anyone to use this software for any purpose,
- * including commercial applications, and to alter it and redistribute it
- * freely, subject to the following restrictions:
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ * 3. This notice may not be removed or altered from any source distribution.
*
- * 1. The origin of this software must not be misrepresented; you must not
- * claim that you wrote the original software. If you use this software
- * in a product, an acknowledgment in the product documentation would be
- * appreciated but is not required.
- * 2. Altered source versions must be plainly marked as such, and must not be
- * misrepresented as being the original software.
- * 3. This notice may not be removed or altered from any source distribution.
- *
- * L. Peter Deutsch
- * ghost@aladdin.com
+ * L. Peter Deutsch
+ * ghost@aladdin.com
*/
/*
} /* end extern "C" */
# endif /* __cplusplus */
#endif /* !_CUPS_MD5_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private MD5 implementation for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
for (i = 0; i < 16; ++i)
digest[i] = (unsigned char)(pms->abcd[i >> 2] >> ((i & 3) << 3));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * MD5 password support for CUPS.
*
- * MD5 password support for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * httpMD5() - Compute the MD5 sum of the username:group:password.
- * httpMD5Nonce() - Combine the MD5 sum of the username, group, and password
- * with the server-supplied nonce value.
- * httpMD5String() - Convert an MD5 sum to a character string.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (md5);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Notification routines for CUPS.
*
- * Notification routines for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2005-2006 by Easy Software Products.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 2005-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * cupsNotifySubject() - Return the subject for the given notification
- * message.
- * cupsNotifyText() - Return the text for the given notification message.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (strdup(notify_text->values[0].string.text));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Option routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (current);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD model-specific attribute routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (buffer[0] ? buffer : NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD cache implementation for CUPS.
*
* Copyright 2010-2015 by Apple Inc.
*ptr = '\0';
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Option conflict management routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (active);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD custom option routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return ((ppd_cparam_t *)cupsArrayNext(opt->params));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD code emission routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
}
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD localization routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
lang->language, ll_CC));
return (lang);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Option marking routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
cupsArrayAdd(ppd->marked, c);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Page size functions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
else
return (size->length);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private PPD definitions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_PPD_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD utilities for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
DEBUG_puts("5cups_get_printer_uri: Printer URI not found.");
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD file routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
DEBUG_puts("5ppd_update_filters: Completed OK.");
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * PostScript Printer Description definitions for CUPS.
*
- * PostScript Printer Description definitions for CUPS.
+ * THESE APIS ARE DEPRECATED. TO COMPILE WITHOUT WARNINGS ADD
+ * -D_PPD_DEPRECATED="" TO YOUR COMPILE OPTIONS. THIS HEADER AND THESE
+ * FUNCTIONS WILL BE REMOVED IN A FUTURE RELEASE OF CUPS.
*
- * THESE APIS ARE DEPRECATED. TO COMPILE WITHOUT WARNINGS ADD
- * -D_PPD_DEPRECATED="" TO YOUR COMPILE OPTIONS. THIS HEADER AND THESE
- * FUNCTIONS WILL BE REMOVED IN A FUTURE RELEASE OF CUPS.
+ * Copyright 2007-2015 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2015 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * PostScript is a trademark of Adobe Systems, Inc.
*
- * PostScript is a trademark of Adobe Systems, Inc.
+ * This code and any derivative of it may be used and distributed
+ * freely under the terms of the GNU General Public License when
+ * used with GNU Ghostscript or its derivatives. Use of the code
+ * (or any derivative of it) with software other than GNU
+ * GhostScript (or its derivatives) is governed by the CUPS license
+ * agreement.
*
- * This code and any derivative of it may be used and distributed
- * freely under the terms of the GNU General Public License when
- * used with GNU Ghostscript or its derivatives. Use of the code
- * (or any derivative of it) with software other than GNU
- * GhostScript (or its derivatives) is governed by the CUPS license
- * agreement.
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_PPD_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_PPD_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * PWG media API definitions for CUPS.
*
- * PWG media API definitions for CUPS.
+ * Copyright 2009-2013 by Apple Inc.
*
- * Copyright 2009-2013 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_PWG_H_
# endif /* __cplusplus */
#endif /* !_CUPS_PWG_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private image library definitions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
extern void _cupsRasterClearError(void);
#endif /* !_CUPS_RASTER_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* IPP utilities for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
break;
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Side-channel API code for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Side-channel API definitions for CUPS.
*
- * Side-channel API definitions for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2006 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_SIDECHANNEL_H_
# endif /* __cplusplus */
#endif /* !_CUPS_SIDECHANNEL_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private SNMP definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_SNMP_PRIVATE_H_ */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* SNMP functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
packet->error = _cupsLangString(cg->lang_default, message);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * snprintf functions for CUPS.
*
- * snprintf functions for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * _cups_vsnprintf() - Format a string into a fixed size buffer.
- * _cups_snprintf() - Format a string into a fixed size buffer.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (bytes);
}
#endif /* !HAVE_SNPRINTF */
-
-
-/*
- * End of "$Id$".
- */
-
/*
- * "$Id$"
- *
* Private string definitions for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
# endif /* __cplusplus */
#endif /* !_CUPS_STRING_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* String functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
{
return (strcmp(a->str, b->str));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Temp file utilities for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
else
return (file);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Admin function test program for CUPS.
*
- * Admin function test program for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2006 by Easy Software Products.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Main entry.
- * show_settings() - Show settings in the array...
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
num_settings --;
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Array test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD cache testing program for CUPS.
*
* Copyright 2009-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * PPD constraint test program for CUPS.
*
- * PPD constraint test program for CUPS.
+ * Copyright 2008-2012 by Apple Inc.
*
- * Copyright 2008-2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Main entry.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* CUPS API test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
printf(" %-20.20s %-20.20s %-20.20s\n", aoption->name,
aoption->value, bval ? bval : "(null)");
}
-
-
-/*
- * End of "$Id$".
- */
break;
}
}
-
+
}
else
puts(cupsLocalizeDestValue(http, dest, dinfo, option, value));
break;
}
}
-
+
}
else if (cupsCheckDestSupported(http, dest, dinfo, option, value))
puts("YES");
exit(arg != NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* File test program for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
puts("PASS");
fputs("cupsFileGets: ", stdout);
- if ((count = count_lines(fp)) != 208)
+ if ((count = count_lines(fp)) != 201)
{
- printf("FAIL (got %d lines, expected 208)\n", count);
+ printf("FAIL (got %d lines, expected 201)\n", count);
status ++;
}
else
puts("PASS");
fputs("cupsFileGets: ", stdout);
- if ((count = count_lines(fp)) != 208)
+ if ((count = count_lines(fp)) != 201)
{
- printf("FAIL (got %d lines, expected 208)\n", count);
+ printf("FAIL (got %d lines, expected 201)\n", count);
status ++;
}
else
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* HTTP test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Internationalization test for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
putchar('\n');
}
-
-
-/*
- * End of "$Id$"
- */
/*
- * "$Id$"
- *
* IPP test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return ((ssize_t)count);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Localization test program for CUPS.
*
- * Localization test program for CUPS.
+ * Copyright 2007-2015 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2015 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Load the specified language and show the strings for yes and no.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (errors > 0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Option unit test program for CUPS.
*
* Copyright 2008-2016 by Apple Inc.
exit (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD test program for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* SNMP test program for CUPS.
*
* Copyright 2008-2014 by Apple Inc.
exit (1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Private threading definitions for CUPS.
*
* Copyright 2009-2014 by Apple Inc.
}
# endif /* __cplusplus */
#endif /* !_CUPS_THREAD_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Threading primitives for CUPS.
*
* Copyright 2009-2014 by Apple Inc.
return (0);
}
#endif /* HAVE_PTHREAD_H */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* TLS support code for CUPS using GNU TLS.
*
* Copyright 2007-2015 by Apple Inc.
return ((int)result);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* TLS support for CUPS on Windows using the Security Support Provider
* Interface (SSPI).
*
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* TLS routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (-1);
}
#endif /* HAVE_SSL */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* TLS check program for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
exit(1);
}
#endif /* !HAVE_SSL */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Transcoding support for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return ((int)(dest - start));
}
-
-
-/*
- * End of "$Id$"
- */
/*
- * "$Id$"
+ * Transcoding definitions for CUPS.
*
- * Transcoding definitions for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_TRANSCODE_H_
# endif /* __cplusplus */
#endif /* !_CUPS_TRANSCODE_H_ */
-
-
-/*
- * End of "$Id$"
- */
/*
- * "$Id$"
- *
* User, system, and password routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
{
strlcpy(cc->user, value, sizeof(cc->user));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printing utilities for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (status);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * API versioning definitions for CUPS.
*
- * API versioning definitions for CUPS.
+ * Copyright 2007-2016 by Apple Inc.
*
- * Copyright 2007-2015 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_VERSIONING_H_
* provided by the compiler.
*/
-# if defined(__APPLE__) && !defined(_CUPS_SOURCE)
+# if defined(__APPLE__) && !defined(_CUPS_SOURCE) && !TARGET_OS_IOS
# include <AvailabilityMacros.h>
# ifndef AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER
# define AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER __attribute__((unavailable))
# endif /* !__GNUC__ */
#endif /* !_CUPS_VERSIONING_H_ */
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Datafile makefile for CUPS.
#
-# Datafile makefile for CUPS.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1993-2006 by Easy Software Products.
#
-# Copyright 2007-2014 by Apple Inc.
-# Copyright 1993-2006 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
-$(RMDIR) $(DATADIR)/data
-$(RMDIR) $(DATADIR)/banners
-$(RMDIR) $(DATADIR)
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * This file contains model number definitions for the CUPS sample
+ * ESC/P driver.
*
- * This file contains model number definitions for the CUPS sample
- * ESC/P driver.
+ * Copyright 2007 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#define EPSON_9PIN 0 /* 9-pin dot matrix */
#define EPSON_PHOTO 3 /* Epson Stylus Photo with ESC . */
#define EPSON_ICOLOR 4 /* Epson Stylus Color with ESC i */
#define EPSON_IPHOTO 5 /* Epson Stylus Photo with ESC i */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * This file contains model number definitions for the CUPS sample
+ * HP driver.
*
- * This file contains model number definitions for the CUPS sample
- * HP driver.
+ * Copyright 2007 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#define HP_LASERJET 0 /* HP LaserJet */
#define HP_DESKJET 1 /* HP DeskJet with simple color */
#define HP_DESKJET2 2 /* HP DeskJet with CRet color */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * This file contains model number definitions for the CUPS sample
+ * label printer driver.
*
- * This file contains model number definitions for the CUPS sample
- * label printer driver.
+ * Copyright 2007 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#define DYMO_3x0 0 /* Dymo Labelwriter 300/330/330 Turbo */
#define ZEBRA_CPCL 0x13 /* Zebra CPCL-based printers */
#define INTELLITECH_PCL 0x20 /* Intellitech PCL-based printers */
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Desktop makefile for CUPS.
#
-# Desktop makefile for CUPS.
+# Copyright 2007-2009 by Apple Inc.
+# Copyright 1993-2006 by Easy Software Products.
#
-# Copyright 2007-2009 by Apple Inc.
-# Copyright 1993-2006 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
$(RM) $(BUILDROOT)$(ICONDIR)/hicolor/64x64/apps/cups.png; \
$(RM) $(BUILDROOT)$(ICONDIR)/hicolor/128x128/apps/cups.png; \
fi
-
-
-#
-# End of "$Id$".
-#
#
-# "$Id$"
-#
# Documentation makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
help/api-array.html \
help/api-cgi.html \
help/api-cups.html \
- help/api-driver.html \
help/api-filedir.html \
help/api-filter.html \
help/api-httpipp.html \
cp $(HELPFILES) ../org.cups.docset/Contents/Resources/Documentation/help
cp cups-printable.css ../org.cups.docset/Contents/Resources/Documentation
cp $(HELPIMAGES) ../org.cups.docset/Contents/Resources/Documentation/images
-
-
-#
-# End of Makefile.
-#
<body>
<div class='body'>
<!--
- "$Id: api-array.header 7266 2008-01-29 02:15:29Z mike $"
-
Array API header for CUPS.
Copyright 2008-2011 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
Array API introduction for CUPS.
Copyright 2007-2011 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
CUPS API header for CUPS.
Copyright 2008-2011 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-cups.shtml 7337 2008-02-22 04:44:04Z mike $"
-
API introduction for CUPS.
Copyright 2007-2013 by Apple Inc.
<p class="description">Cancel a job on a destination.</p>
<p class="discussion">The "job_id" is the number returned by cupsCreateDestJob.<br>
<br>
-Returns IPP_STATUS_OK on success and IPP_NOT_AUTHORIZED or IPP_FORBIDDEN on
-failure.
+Returns <code>IPP_STATUS_OK</code> on success and
+<code>IPP_STATUS_ERRPR_NOT_AUTHORIZED</code> or
+<code>IPP_STATUS_ERROR_FORBIDDEN</code> on failure.
</p>
<h3 class="function"><a name="cupsCancelJob">cupsCancelJob</a></h3>
<h4 class="constants">Constants</h4>
<dl>
<dt>CUPS_PRINTER_3D <span class="info"> CUPS 2.1 </span></dt>
-<dd class="description">3D Printing </dd>
+<dd class="description">Printer with 3D capabilities </dd>
<dt>CUPS_PRINTER_AUTHENTICATED <span class="info"> CUPS 1.2/OS X 10.5 </span></dt>
<dd class="description">Printer requires authentication
</dd>
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<!-- SECTION: Programming -->
-<head>
- <title>Printer Driver API </title>
- <meta name="keywords" content="Programming">
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <meta name="creator" content="Mini-XML v2.7">
-<style type="text/css"><!--
-BODY {
- font-family: lucida grande, geneva, helvetica, arial, sans-serif;
-}
-
-H1, H2, H3, H4, H5, H6, P, TD, TH {
- font-family: lucida grande, geneva, helvetica, arial, sans-serif;
-}
-
-KBD {
- font-family: monaco, courier, monospace;
- font-weight: bold;
-}
-
-PRE {
- font-family: monaco, courier, monospace;
-}
-
-PRE.command {
- border: dotted thin #7f7f7f;
- margin-left: 36pt;
- padding: 10px;
-}
-
-P.compact {
- margin: 0;
-}
-
-P.example {
- font-style: italic;
- margin-left: 36pt;
-}
-
-PRE.example {
- background: #eeeeee;
- border: dotted thin #999999;
- margin-left: 36pt;
- padding: 10pt;
-}
-
-PRE.command EM, PRE.example EM {
- font-family: lucida grande, geneva, helvetica, arial, sans-serif;
-}
-
-P.command {
- font-family: monaco, courier, monospace;
- margin-left: 36pt;
-}
-
-P.formula {
- font-style: italic;
- margin-left: 36pt;
-}
-
-BLOCKQUOTE {
- background: #eeeeee;
- border: solid thin #999999;
- padding: 10pt;
-}
-
-A IMG {
- border: none;
-}
-
-A:link:hover IMG {
- background: #f0f0f0;
- border-radius: 10px;
- -moz-border-radius: 10px;
-}
-
-A:link, A:visited {
- font-weight: normal;
- text-decoration: none;
-}
-
-A:link:hover, A:visited:hover, A:active {
- text-decoration: underline;
-}
-
-SUB, SUP {
- font-size: 50%;
-}
-
-TR.data, TD.data, TR.data TD {
- margin-top: 10pt;
- padding: 5pt;
- border-bottom: solid 1pt #999999;
-}
-
-TR.data TH {
- border-bottom: solid 1pt #999999;
- padding-top: 10pt;
- padding-left: 5pt;
- text-align: left;
-}
-
-DIV.table TABLE {
- border: solid thin #999999;
- border-collapse: collapse;
- border-spacing: 0;
- margin-left: auto;
- margin-right: auto;
-}
-
-DIV.table CAPTION {
- caption-side: top;
- font-size: 120%;
- font-style: italic;
- font-weight: bold;
- margin-left: auto;
- margin-right: auto;
-}
-
-DIV.table TABLE TD {
- border: solid thin #cccccc;
- padding-top: 5pt;
-}
-
-DIV.table TABLE TH {
- background: #cccccc;
- border: none;
- border-bottom: solid thin #999999;
-}
-
-DIV.figure TABLE {
- margin-left: auto;
- margin-right: auto;
-}
-
-DIV.figure CAPTION {
- caption-side: bottom;
- font-size: 120%;
- font-style: italic;
- font-weight: bold;
- margin-left: auto;
- margin-right: auto;
-}
-
-TH.label {
- text-align: right;
- vertical-align: top;
-}
-
-TH.sublabel {
- text-align: right;
- font-weight: normal;
-}
-
-HR {
- border: solid thin;
-}
-
-SPAN.info {
- background: black;
- border: thin solid black;
- color: white;
- font-size: 80%;
- font-style: italic;
- font-weight: bold;
- white-space: nowrap;
-}
-
-H2 SPAN.info, H3 SPAN.info, H4 SPAN.info {
- float: right;
- font-size: 100%;
-}
-
-H1.title {
-}
-
-H2.title, H3.title {
- border-bottom: solid 2pt #000000;
-}
-
-DIV.indent, TABLE.indent {
- margin-top: 2em;
- margin-left: auto;
- margin-right: auto;
- width: 90%;
-}
-
-TABLE.indent {
- border-collapse: collapse;
-}
-
-TABLE.indent TD, TABLE.indent TH {
- padding: 0;
-}
-
-TABLE.list {
- border-collapse: collapse;
- margin-left: auto;
- margin-right: auto;
- width: 90%;
-}
-
-TABLE.list TH {
- background: white;
- border-bottom: solid thin #cccccc;
- color: #444444;
- padding-top: 10pt;
- padding-left: 5pt;
- text-align: left;
- vertical-align: bottom;
- white-space: nowrap;
-}
-
-TABLE.list TH A {
- color: #4444cc;
-}
-
-TABLE.list TD {
- border-bottom: solid thin #eeeeee;
- padding-top: 5pt;
- padding-left: 5pt;
-}
-
-TABLE.list TR:nth-child(even) {
- background: #f8f8f8;
-}
-
-TABLE.list TR:nth-child(odd) {
- background: #f4f4f4;
-}
-
-DT {
- margin-left: 36pt;
- margin-top: 12pt;
-}
-
-DD {
- margin-left: 54pt;
-}
-
-DL.category DT {
- font-weight: bold;
-}
-
-P.summary {
- margin-left: 36pt;
- font-family: monaco, courier, monospace;
-}
-
-DIV.summary TABLE {
- border: solid thin #999999;
- border-collapse: collapse;
- border-spacing: 0;
- margin: 10px;
-}
-
-DIV.summary TABLE TD, DIV.summary TABLE TH {
- border: solid thin #999999;
- padding: 5px;
- text-align: left;
- vertical-align: top;
-}
-
-DIV.summary TABLE THEAD TH {
- background: #eeeeee;
-}
-
-/* API documentation styles... */
-div.body h1 {
- margin: 0;
-}
-div.body h2 {
- margin-top: 1.5em;
-}
-div.body h3, div.body h4, div.body h5 {
- margin-bottom: 0.5em;
- margin-top: 1.5em;
-}
-.class, .enumeration, .function, .struct, .typedef, .union {
- border-bottom: solid thin #999999;
- margin-bottom: 0;
- margin-top: 2em;
-}
-.description {
- margin-top: 0.5em;
-}
-code, p.code, pre, ul.code li {
- font-family: monaco, courier, monospace;
- font-size: 90%;
-}
-ul.code, ul.contents, ul.subcontents {
- list-style-type: none;
- margin: 0;
- padding-left: 0;
-}
-ul.code li {
- margin: 0;
-}
-ul.contents > li {
- margin-top: 1em;
-}
-ul.contents li ul.code, ul.contents li ul.subcontents {
- padding-left: 2em;
-}
-div.body dl {
- margin-left: 0;
- margin-top: 0;
-}
-div.body dt {
- font-style: italic;
- margin-left: 0;
- margin-top: 0;
-}
-div.body dd {
- margin-bottom: 0.5em;
-}
-
-/* This is just for the HTML files generated with the framedhelp target */
-div.contents {
- background: #e8e8e8;
- border: solid thin black;
- padding: 10px;
-}
-div.contents h1 {
- font-size: 110%;
-}
-div.contents h2 {
- font-size: 100%;
-}
-div.contents ul.contents {
- font-size: 80%;
-}
-div.contents ul.subcontents li {
- margin-left: 1em;
- text-indent: -1em;
-}
---></style>
-</head>
-<body>
-<div class='body'>
-<!--
- "$Id$"
-
- Driver API header for CUPS.
-
- Copyright 2009 by Apple Inc.
-
- These coded instructions, statements, and computer programs are the
- property of Apple Inc. and are protected by Federal copyright
- law. Distribution and use rights are outlined in the file "LICENSE.txt"
- which should have been included with this file. If this file is
- file is missing or damaged, see the license at "http://www.cups.org/".
--->
-
-<h1 class='title'>Driver API</h1>
-
-<div class='summary'><table summary='General Information'>
-<thead>
-<tr>
- <th>Header</th>
- <th>cups/driver.h</th>
-</tr>
-</thead>
-<tbody>
-<tr>
- <th>Library</th>
- <td>-lcupsdriver</td>
-</tr>
-<tr>
- <th>See Also</th>
- <td>Programming: <a href='api-overview.html' target='_top'>Introduction to CUPS Programming</a></td>
-</tr>
-</tbody>
-</table></div>
-<h2 class="title">Contents</h2>
-<ul class="contents">
-<li><a href="#OVERVIEW">Overview</a></li>
-<li><a href="#FUNCTIONS">Functions</a><ul class="code">
- <li><a href="#cupsCMYKDelete" title="Delete a color separation.">cupsCMYKDelete</a></li>
- <li><a href="#cupsCMYKDoBlack" title="Do a black separation...">cupsCMYKDoBlack</a></li>
- <li><a href="#cupsCMYKDoCMYK" title="Do a CMYK separation...">cupsCMYKDoCMYK</a></li>
- <li><a href="#cupsCMYKDoGray" title="Do a grayscale separation...">cupsCMYKDoGray</a></li>
- <li><a href="#cupsCMYKDoRGB" title="Do an sRGB separation...">cupsCMYKDoRGB</a></li>
- <li><a href="#cupsCMYKLoad" title="Load a CMYK color profile from PPD attributes.">cupsCMYKLoad</a></li>
- <li><a href="#cupsCMYKNew" title="Create a new CMYK color separation.">cupsCMYKNew</a></li>
- <li><a href="#cupsCMYKSetBlack" title="Set the transition range for CMY to black.">cupsCMYKSetBlack</a></li>
- <li><a href="#cupsCMYKSetCurve" title="Set a color transform curve using points.">cupsCMYKSetCurve</a></li>
- <li><a href="#cupsCMYKSetGamma" title="Set a color transform curve using gamma and density.">cupsCMYKSetGamma</a></li>
- <li><a href="#cupsCMYKSetInkLimit" title="Set the limit on the amount of ink.">cupsCMYKSetInkLimit</a></li>
- <li><a href="#cupsCMYKSetLtDk" title="Set light/dark ink transforms.">cupsCMYKSetLtDk</a></li>
- <li><a href="#cupsCheckBytes" title="Check to see if all bytes are zero.">cupsCheckBytes</a></li>
- <li><a href="#cupsCheckValue" title="Check to see if all bytes match the given value.">cupsCheckValue</a></li>
- <li><a href="#cupsDitherDelete" title="Free a dithering buffer.">cupsDitherDelete</a></li>
- <li><a href="#cupsDitherLine" title="Dither a line of pixels...">cupsDitherLine</a></li>
- <li><a href="#cupsDitherNew" title="Create an error-diffusion dithering buffer.">cupsDitherNew</a></li>
- <li><a href="#cupsFindAttr" title="Find a PPD attribute based on the colormodel,
-media, and resolution.">cupsFindAttr</a></li>
- <li><a href="#cupsLutDelete" title="Free the memory used by a lookup table.">cupsLutDelete</a></li>
- <li><a href="#cupsLutLoad" title="Load a LUT from a PPD file.">cupsLutLoad</a></li>
- <li><a href="#cupsLutNew" title="Make a lookup table from a list of pixel values.">cupsLutNew</a></li>
- <li><a href="#cupsPackHorizontal" title="Pack pixels horizontally...">cupsPackHorizontal</a></li>
- <li><a href="#cupsPackHorizontal2" title="Pack 2-bit pixels horizontally...">cupsPackHorizontal2</a></li>
- <li><a href="#cupsPackHorizontalBit" title="Pack pixels horizontally by bit...">cupsPackHorizontalBit</a></li>
- <li><a href="#cupsPackVertical" title="Pack pixels vertically...">cupsPackVertical</a></li>
- <li><a href="#cupsRGBDelete" title="Delete a color separation.">cupsRGBDelete</a></li>
- <li><a href="#cupsRGBDoGray" title="Do a grayscale separation...">cupsRGBDoGray</a></li>
- <li><a href="#cupsRGBDoRGB" title="Do a RGB separation...">cupsRGBDoRGB</a></li>
- <li><a href="#cupsRGBLoad" title="Load a RGB color profile from a PPD file.">cupsRGBLoad</a></li>
- <li><a href="#cupsRGBNew" title="Create a new RGB color separation.">cupsRGBNew</a></li>
-</ul></li>
-<li><a href="#TYPES">Data Types</a><ul class="code">
- <li><a href="#cups_cmyk_t" title="Simple CMYK lookup table">cups_cmyk_t</a></li>
- <li><a href="#cups_dither_t" title="Dithering State">cups_dither_t</a></li>
- <li><a href="#cups_lut_t" title="Lookup Table for Dithering">cups_lut_t</a></li>
- <li><a href="#cups_rgb_t" title="Color separation lookup table">cups_rgb_t</a></li>
- <li><a href="#cups_sample_t" title="Color sample point">cups_sample_t</a></li>
-</ul></li>
-<li><a href="#STRUCTURES">Structures</a><ul class="code">
- <li><a href="#cups_cmyk_s" title="Simple CMYK lookup table">cups_cmyk_s</a></li>
- <li><a href="#cups_dither_s" title="Dithering State">cups_dither_s</a></li>
- <li><a href="#cups_lut_s" title="Lookup Table for Dithering">cups_lut_s</a></li>
- <li><a href="#cups_rgb_s" title="Color separation lookup table">cups_rgb_s</a></li>
- <li><a href="#cups_sample_s" title="Color sample point">cups_sample_s</a></li>
-</ul></li>
-<li><a href="#VARIABLES">Variables</a><ul class="code">
- <li><a href="#cups_scmy_lut[256]" title="sRGB gamma lookup table (inverted)">cups_scmy_lut[256]</a></li>
- <li><a href="#cups_srgb_lut[256]" title="sRGB gamma lookup table">cups_srgb_lut[256]</a></li>
-</ul></li>
-</ul>
-<!--
- "$Id$"
-
- Driver API introduction for CUPS.
-
- Copyright 2009 by Apple Inc.
-
- These coded instructions, statements, and computer programs are the
- property of Apple Inc. and are protected by Federal copyright
- law. Distribution and use rights are outlined in the file "LICENSE.txt"
- which should have been included with this file. If this file is
- file is missing or damaged, see the license at "http://www.cups.org/".
--->
-
-<h2 class='title'><a name='OVERVIEW'>Overview</a></h2>
-
-<p>The driver API provides common dithering, color conversion, and utility
-functions for CUPS drivers.</p>
-<h2 class="title"><a name="FUNCTIONS">Functions</a></h2>
-<h3 class="function"><a name="cupsCMYKDelete">cupsCMYKDelete</a></h3>
-<p class="description">Delete a color separation.</p>
-<p class="code">
-void cupsCMYKDelete (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">Color separation</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKDoBlack">cupsCMYKDoBlack</a></h3>
-<p class="description">Do a black separation...</p>
-<p class="code">
-void cupsCMYKDoBlack (<br>
- const <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- const unsigned char *input,<br>
- short *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input grayscale pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKDoCMYK">cupsCMYKDoCMYK</a></h3>
-<p class="description">Do a CMYK separation...</p>
-<p class="code">
-void cupsCMYKDoCMYK (<br>
- const <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- const unsigned char *input,<br>
- short *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input grayscale pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKDoGray">cupsCMYKDoGray</a></h3>
-<p class="description">Do a grayscale separation...</p>
-<p class="code">
-void cupsCMYKDoGray (<br>
- const <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- const unsigned char *input,<br>
- short *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input grayscale pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKDoRGB">cupsCMYKDoRGB</a></h3>
-<p class="description">Do an sRGB separation...</p>
-<p class="code">
-void cupsCMYKDoRGB (<br>
- const <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- const unsigned char *input,<br>
- short *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input grayscale pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKLoad">cupsCMYKLoad</a></h3>
-<p class="description">Load a CMYK color profile from PPD attributes.</p>
-<p class="code">
-<a href="#cups_cmyk_t">cups_cmyk_t</a> *cupsCMYKLoad (<br>
- ppd_file_t *ppd,<br>
- const char *colormodel,<br>
- const char *media,<br>
- const char *resolution<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ppd</dt>
-<dd class="description">PPD file</dd>
-<dt>colormodel</dt>
-<dd class="description">ColorModel value</dd>
-<dt>media</dt>
-<dd class="description">MediaType value</dd>
-<dt>resolution</dt>
-<dd class="description">Resolution value</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">CMYK color separation</p>
-<h3 class="function"><a name="cupsCMYKNew">cupsCMYKNew</a></h3>
-<p class="description">Create a new CMYK color separation.</p>
-<p class="code">
-<a href="#cups_cmyk_t">cups_cmyk_t</a> *cupsCMYKNew (<br>
- int num_channels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_channels</dt>
-<dd class="description">Number of color components</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New CMYK separation or NULL</p>
-<h3 class="function"><a name="cupsCMYKSetBlack">cupsCMYKSetBlack</a></h3>
-<p class="description">Set the transition range for CMY to black.</p>
-<p class="code">
-void cupsCMYKSetBlack (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- float lower,<br>
- float upper<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">CMYK color separation</dd>
-<dt>lower</dt>
-<dd class="description">No black ink</dd>
-<dt>upper</dt>
-<dd class="description">Only black ink</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKSetCurve">cupsCMYKSetCurve</a></h3>
-<p class="description">Set a color transform curve using points.</p>
-<p class="code">
-void cupsCMYKSetCurve (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- int channel,<br>
- int num_xypoints,<br>
- const float *xypoints<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">CMYK color separation</dd>
-<dt>channel</dt>
-<dd class="description">Color channel</dd>
-<dt>num_xypoints</dt>
-<dd class="description">Number of X,Y points</dd>
-<dt>xypoints</dt>
-<dd class="description">X,Y points</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKSetGamma">cupsCMYKSetGamma</a></h3>
-<p class="description">Set a color transform curve using gamma and density.</p>
-<p class="code">
-void cupsCMYKSetGamma (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- int channel,<br>
- float gamval,<br>
- float density<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">CMYK color separation</dd>
-<dt>channel</dt>
-<dd class="description">Ink channel</dd>
-<dt>gamval</dt>
-<dd class="description">Gamma correction</dd>
-<dt>density</dt>
-<dd class="description">Maximum density</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKSetInkLimit">cupsCMYKSetInkLimit</a></h3>
-<p class="description">Set the limit on the amount of ink.</p>
-<p class="code">
-void cupsCMYKSetInkLimit (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- float limit<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">CMYK color separation</dd>
-<dt>limit</dt>
-<dd class="description">Limit of ink</dd>
-</dl>
-<h3 class="function"><a name="cupsCMYKSetLtDk">cupsCMYKSetLtDk</a></h3>
-<p class="description">Set light/dark ink transforms.</p>
-<p class="code">
-void cupsCMYKSetLtDk (<br>
- <a href="#cups_cmyk_t">cups_cmyk_t</a> *cmyk,<br>
- int channel,<br>
- float light,<br>
- float dark<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>cmyk</dt>
-<dd class="description">CMYK color separation</dd>
-<dt>channel</dt>
-<dd class="description">Dark ink channel (+1 for light)</dd>
-<dt>light</dt>
-<dd class="description">Light ink only level</dd>
-<dt>dark</dt>
-<dd class="description">Dark ink only level</dd>
-</dl>
-<h3 class="function"><a name="cupsCheckBytes">cupsCheckBytes</a></h3>
-<p class="description">Check to see if all bytes are zero.</p>
-<p class="code">
-int cupsCheckBytes (<br>
- const unsigned char *bytes,<br>
- int length<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>bytes</dt>
-<dd class="description">Bytes to check</dd>
-<dt>length</dt>
-<dd class="description">Number of bytes to check</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">1 if they match</p>
-<h3 class="function"><a name="cupsCheckValue">cupsCheckValue</a></h3>
-<p class="description">Check to see if all bytes match the given value.</p>
-<p class="code">
-int cupsCheckValue (<br>
- const unsigned char *bytes,<br>
- int length,<br>
- const unsigned char value<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>bytes</dt>
-<dd class="description">Bytes to check</dd>
-<dt>length</dt>
-<dd class="description">Number of bytes to check</dd>
-<dt>value</dt>
-<dd class="description">Value to check</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">1 if they match</p>
-<h3 class="function"><a name="cupsDitherDelete">cupsDitherDelete</a></h3>
-<p class="description">Free a dithering buffer.</p>
-<p class="code">
-void cupsDitherDelete (<br>
- <a href="#cups_dither_t">cups_dither_t</a> *d<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>d</dt>
-<dd class="description">Dithering buffer</dd>
-</dl>
-<h4 class="discussion">Discussion</h4>
-<p class="discussion">Returns 0 on success, -1 on failure.</p>
-<h3 class="function"><a name="cupsDitherLine">cupsDitherLine</a></h3>
-<p class="description">Dither a line of pixels...</p>
-<p class="code">
-void cupsDitherLine (<br>
- <a href="#cups_dither_t">cups_dither_t</a> *d,<br>
- const <a href="#cups_lut_t">cups_lut_t</a> *lut,<br>
- const short *data,<br>
- int num_channels,<br>
- unsigned char *p<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>d</dt>
-<dd class="description">Dither data</dd>
-<dt>lut</dt>
-<dd class="description">Lookup table</dd>
-<dt>data</dt>
-<dd class="description">Separation data</dd>
-<dt>num_channels</dt>
-<dd class="description">Number of components</dd>
-<dt>p</dt>
-<dd class="description">Pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsDitherNew">cupsDitherNew</a></h3>
-<p class="description">Create an error-diffusion dithering buffer.</p>
-<p class="code">
-<a href="#cups_dither_t">cups_dither_t</a> *cupsDitherNew (<br>
- int width<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>width</dt>
-<dd class="description">Width of output in pixels</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New state array</p>
-<h3 class="function"><a name="cupsFindAttr">cupsFindAttr</a></h3>
-<p class="description">Find a PPD attribute based on the colormodel,
-media, and resolution.</p>
-<p class="code">
-ppd_attr_t *cupsFindAttr (<br>
- ppd_file_t *ppd,<br>
- const char *name,<br>
- const char *colormodel,<br>
- const char *media,<br>
- const char *resolution,<br>
- char *spec,<br>
- int specsize<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ppd</dt>
-<dd class="description">PPD file</dd>
-<dt>name</dt>
-<dd class="description">Attribute name</dd>
-<dt>colormodel</dt>
-<dd class="description">Color model</dd>
-<dt>media</dt>
-<dd class="description">Media type</dd>
-<dt>resolution</dt>
-<dd class="description">Resolution</dd>
-<dt>spec</dt>
-<dd class="description">Final selection string</dd>
-<dt>specsize</dt>
-<dd class="description">Size of string buffer</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">Matching attribute or NULL</p>
-<h3 class="function"><a name="cupsLutDelete">cupsLutDelete</a></h3>
-<p class="description">Free the memory used by a lookup table.</p>
-<p class="code">
-void cupsLutDelete (<br>
- <a href="#cups_lut_t">cups_lut_t</a> *lut<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>lut</dt>
-<dd class="description">Lookup table to free</dd>
-</dl>
-<h3 class="function"><a name="cupsLutLoad">cupsLutLoad</a></h3>
-<p class="description">Load a LUT from a PPD file.</p>
-<p class="code">
-<a href="#cups_lut_t">cups_lut_t</a> *cupsLutLoad (<br>
- ppd_file_t *ppd,<br>
- const char *colormodel,<br>
- const char *media,<br>
- const char *resolution,<br>
- const char *ink<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ppd</dt>
-<dd class="description">PPD file</dd>
-<dt>colormodel</dt>
-<dd class="description">Color model</dd>
-<dt>media</dt>
-<dd class="description">Media type</dd>
-<dt>resolution</dt>
-<dd class="description">Resolution</dd>
-<dt>ink</dt>
-<dd class="description">Ink name</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New lookup table</p>
-<h3 class="function"><a name="cupsLutNew">cupsLutNew</a></h3>
-<p class="description">Make a lookup table from a list of pixel values.</p>
-<p class="code">
-<a href="#cups_lut_t">cups_lut_t</a> *cupsLutNew (<br>
- int num_values,<br>
- const float *values<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_values</dt>
-<dd class="description">Number of values</dd>
-<dt>values</dt>
-<dd class="description">Lookup table values</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New lookup table</p>
-<h4 class="discussion">Discussion</h4>
-<p class="discussion">Returns a pointer to the lookup table on success, NULL on failure.</p>
-<h3 class="function"><a name="cupsPackHorizontal">cupsPackHorizontal</a></h3>
-<p class="description">Pack pixels horizontally...</p>
-<p class="code">
-void cupsPackHorizontal (<br>
- const unsigned char *ipixels,<br>
- unsigned char *obytes,<br>
- int width,<br>
- const unsigned char clearto,<br>
- const int step<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipixels</dt>
-<dd class="description">Input pixels</dd>
-<dt>obytes</dt>
-<dd class="description">Output bytes</dd>
-<dt>width</dt>
-<dd class="description">Number of pixels</dd>
-<dt>clearto</dt>
-<dd class="description">Initial value of bytes</dd>
-<dt>step</dt>
-<dd class="description">Step value between pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsPackHorizontal2">cupsPackHorizontal2</a></h3>
-<p class="description">Pack 2-bit pixels horizontally...</p>
-<p class="code">
-void cupsPackHorizontal2 (<br>
- const unsigned char *ipixels,<br>
- unsigned char *obytes,<br>
- int width,<br>
- const int step<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipixels</dt>
-<dd class="description">Input pixels</dd>
-<dt>obytes</dt>
-<dd class="description">Output bytes</dd>
-<dt>width</dt>
-<dd class="description">Number of pixels</dd>
-<dt>step</dt>
-<dd class="description">Stepping value</dd>
-</dl>
-<h3 class="function"><a name="cupsPackHorizontalBit">cupsPackHorizontalBit</a></h3>
-<p class="description">Pack pixels horizontally by bit...</p>
-<p class="code">
-void cupsPackHorizontalBit (<br>
- const unsigned char *ipixels,<br>
- unsigned char *obytes,<br>
- int width,<br>
- const unsigned char clearto,<br>
- const unsigned char bit<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipixels</dt>
-<dd class="description">Input pixels</dd>
-<dt>obytes</dt>
-<dd class="description">Output bytes</dd>
-<dt>width</dt>
-<dd class="description">Number of pixels</dd>
-<dt>clearto</dt>
-<dd class="description">Initial value of bytes</dd>
-<dt>bit</dt>
-<dd class="description">Bit to check</dd>
-</dl>
-<h3 class="function"><a name="cupsPackVertical">cupsPackVertical</a></h3>
-<p class="description">Pack pixels vertically...</p>
-<p class="code">
-void cupsPackVertical (<br>
- const unsigned char *ipixels,<br>
- unsigned char *obytes,<br>
- int width,<br>
- const unsigned char bit,<br>
- const int step<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ipixels</dt>
-<dd class="description">Input pixels</dd>
-<dt>obytes</dt>
-<dd class="description">Output bytes</dd>
-<dt>width</dt>
-<dd class="description">Number of input pixels</dd>
-<dt>bit</dt>
-<dd class="description">Output bit</dd>
-<dt>step</dt>
-<dd class="description">Number of bytes between columns</dd>
-</dl>
-<h3 class="function"><a name="cupsRGBDelete">cupsRGBDelete</a></h3>
-<p class="description">Delete a color separation.</p>
-<p class="code">
-void cupsRGBDelete (<br>
- <a href="#cups_rgb_t">cups_rgb_t</a> *rgbptr<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>rgbptr</dt>
-<dd class="description">Color separation</dd>
-</dl>
-<h3 class="function"><a name="cupsRGBDoGray">cupsRGBDoGray</a></h3>
-<p class="description">Do a grayscale separation...</p>
-<p class="code">
-void cupsRGBDoGray (<br>
- <a href="#cups_rgb_t">cups_rgb_t</a> *rgbptr,<br>
- const unsigned char *input,<br>
- unsigned char *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>rgbptr</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input grayscale pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsRGBDoRGB">cupsRGBDoRGB</a></h3>
-<p class="description">Do a RGB separation...</p>
-<p class="code">
-void cupsRGBDoRGB (<br>
- <a href="#cups_rgb_t">cups_rgb_t</a> *rgbptr,<br>
- const unsigned char *input,<br>
- unsigned char *output,<br>
- int num_pixels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>rgbptr</dt>
-<dd class="description">Color separation</dd>
-<dt>input</dt>
-<dd class="description">Input RGB pixels</dd>
-<dt>output</dt>
-<dd class="description">Output Device-N pixels</dd>
-<dt>num_pixels</dt>
-<dd class="description">Number of pixels</dd>
-</dl>
-<h3 class="function"><a name="cupsRGBLoad">cupsRGBLoad</a></h3>
-<p class="description">Load a RGB color profile from a PPD file.</p>
-<p class="code">
-<a href="#cups_rgb_t">cups_rgb_t</a> *cupsRGBLoad (<br>
- ppd_file_t *ppd,<br>
- const char *colormodel,<br>
- const char *media,<br>
- const char *resolution<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>ppd</dt>
-<dd class="description">PPD file</dd>
-<dt>colormodel</dt>
-<dd class="description">Color model</dd>
-<dt>media</dt>
-<dd class="description">Media type</dd>
-<dt>resolution</dt>
-<dd class="description">Resolution</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New color profile</p>
-<h3 class="function"><a name="cupsRGBNew">cupsRGBNew</a></h3>
-<p class="description">Create a new RGB color separation.</p>
-<p class="code">
-<a href="#cups_rgb_t">cups_rgb_t</a> *cupsRGBNew (<br>
- int num_samples,<br>
- <a href="#cups_sample_t">cups_sample_t</a> *samples,<br>
- int cube_size,<br>
- int num_channels<br>
-);</p>
-<h4 class="parameters">Parameters</h4>
-<dl>
-<dt>num_samples</dt>
-<dd class="description">Number of samples</dd>
-<dt>samples</dt>
-<dd class="description">Samples</dd>
-<dt>cube_size</dt>
-<dd class="description">Size of LUT cube</dd>
-<dt>num_channels</dt>
-<dd class="description">Number of color components</dd>
-</dl>
-<h4 class="returnvalue">Return Value</h4>
-<p class="description">New color separation or NULL</p>
-<h2 class="title"><a name="TYPES">Data Types</a></h2>
-<h3 class="typedef"><a name="cups_cmyk_t">cups_cmyk_t</a></h3>
-<p class="description">Simple CMYK lookup table</p>
-<p class="code">
-typedef struct <a href="#cups_cmyk_s">cups_cmyk_s</a> cups_cmyk_t;
-</p>
-<h3 class="typedef"><a name="cups_dither_t">cups_dither_t</a></h3>
-<p class="description">Dithering State</p>
-<p class="code">
-typedef struct <a href="#cups_dither_s">cups_dither_s</a> cups_dither_t;
-</p>
-<h3 class="typedef"><a name="cups_lut_t">cups_lut_t</a></h3>
-<p class="description">Lookup Table for Dithering</p>
-<p class="code">
-typedef struct <a href="#cups_lut_s">cups_lut_s</a> cups_lut_t;
-</p>
-<h3 class="typedef"><a name="cups_rgb_t">cups_rgb_t</a></h3>
-<p class="description">Color separation lookup table</p>
-<p class="code">
-typedef struct <a href="#cups_rgb_s">cups_rgb_s</a> cups_rgb_t;
-</p>
-<h3 class="typedef"><a name="cups_sample_t">cups_sample_t</a></h3>
-<p class="description">Color sample point</p>
-<p class="code">
-typedef struct <a href="#cups_sample_s">cups_sample_s</a> cups_sample_t;
-</p>
-<h2 class="title"><a name="STRUCTURES">Structures</a></h2>
-<h3 class="struct"><a name="cups_cmyk_s">cups_cmyk_s</a></h3>
-<p class="description">Simple CMYK lookup table</p>
-<p class="code">struct cups_cmyk_s {<br>
- unsigned char black_lut[256];<br>
- short *channels[CUPS_MAX_CHAN];<br>
- unsigned char color_lut[256];<br>
- int ink_limit;<br>
- int num_channels;<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>black_lut[256] </dt>
-<dd class="description">Black generation LUT</dd>
-<dt>channels[CUPS_MAX_CHAN] </dt>
-<dd class="description">Lookup tables</dd>
-<dt>color_lut[256] </dt>
-<dd class="description">Color removal LUT</dd>
-<dt>ink_limit </dt>
-<dd class="description">Ink limit</dd>
-<dt>num_channels </dt>
-<dd class="description">Number of components</dd>
-</dl>
-<h3 class="struct"><a name="cups_dither_s">cups_dither_s</a></h3>
-<p class="description">Dithering State</p>
-<p class="code">struct cups_dither_s {<br>
- int errors[96];<br>
- int row;<br>
- int width;<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>errors[96] </dt>
-<dd class="description">Error values</dd>
-<dt>row </dt>
-<dd class="description">Current row</dd>
-<dt>width </dt>
-<dd class="description">Width of buffer</dd>
-</dl>
-<h3 class="struct"><a name="cups_lut_s">cups_lut_s</a></h3>
-<p class="description">Lookup Table for Dithering</p>
-<p class="code">struct cups_lut_s {<br>
- int error;<br>
- short intensity;<br>
- short pixel;<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>error </dt>
-<dd class="description">Error from desired value</dd>
-<dt>intensity </dt>
-<dd class="description">Adjusted intensity</dd>
-<dt>pixel </dt>
-<dd class="description">Output pixel value</dd>
-</dl>
-<h3 class="struct"><a name="cups_rgb_s">cups_rgb_s</a></h3>
-<p class="description">Color separation lookup table</p>
-<p class="code">struct cups_rgb_s {<br>
- unsigned char black[CUPS_MAX_RGB];<br>
- int cache_init;<br>
- unsigned char ****colors;<br>
- int cube_index[256];<br>
- int cube_mult[256];<br>
- int cube_size;<br>
- int num_channels;<br>
- unsigned char white[CUPS_MAX_RGB];<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>black[CUPS_MAX_RGB] </dt>
-<dd class="description">Cached black (sRGB = 0,0,0)</dd>
-<dt>cache_init </dt>
-<dd class="description">Are cached values initialized?</dd>
-<dt>colors </dt>
-<dd class="description">4-D array of sample values</dd>
-<dt>cube_index[256] </dt>
-<dd class="description">Index into cube for a given sRGB value</dd>
-<dt>cube_mult[256] </dt>
-<dd class="description">Multiplier value for a given sRGB value</dd>
-<dt>cube_size </dt>
-<dd class="description">Size of color cube (2-N) on a side</dd>
-<dt>num_channels </dt>
-<dd class="description">Number of colors per sample</dd>
-<dt>white[CUPS_MAX_RGB] </dt>
-<dd class="description">Cached white (sRGB = 255,255,255)</dd>
-</dl>
-<h3 class="struct"><a name="cups_sample_s">cups_sample_s</a></h3>
-<p class="description">Color sample point</p>
-<p class="code">struct cups_sample_s {<br>
- unsigned char colors[CUPS_MAX_RGB];<br>
- unsigned char rgb[3];<br>
-};</p>
-<h4 class="members">Members</h4>
-<dl>
-<dt>colors[CUPS_MAX_RGB] </dt>
-<dd class="description">Color values</dd>
-<dt>rgb[3] </dt>
-<dd class="description">sRGB values</dd>
-</dl>
-<h2 class="title"><a name="VARIABLES">Variables</a></h2>
-<h3 class="variable"><a name="cups_scmy_lut[256]">cups_scmy_lut[256]</a></h3>
-<p class="description">sRGB gamma lookup table (inverted)</p>
-<p class="code">extern const unsigned char cups_scmy_lut[256];</p>
-<h3 class="variable"><a name="cups_srgb_lut[256]">cups_srgb_lut[256]</a></h3>
-<p class="description">sRGB gamma lookup table</p>
-<p class="code">extern const unsigned char cups_srgb_lut[256];</p>
-</div>
-</body>
-</html>
<body>
<div class='body'>
<!--
- "$Id: api-filedir.header 7279 2008-01-31 01:50:44Z mike $"
-
File and Directory API header for CUPS.
Copyright 2008-2011 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-filedir.shtml 7279 2008-01-31 01:50:44Z mike $"
-
File and directory API introduction for CUPS.
Copyright 2007-2011 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-filter.header 7616 2008-05-28 00:34:13Z mike $"
-
Filter and backend programming header for CUPS.
Copyright 2008-2014 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-filter.shtml 7677 2008-06-19 23:22:19Z mike $"
-
Filter and backend programming introduction for CUPS.
Copyright 2007-2014 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-httpipp.header 7258 2008-01-28 00:15:05Z mike $"
-
HTTP and IPP API header for CUPS.
Copyright 2007-2011 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-httpipp.shtml 7684 2008-06-23 16:47:38Z mike $"
-
HTTP and IPP API introduction for CUPS.
Copyright 2007-2012 by Apple Inc.
<dd class="description">Add or modify a printer</dd>
<dt>IPP_OP_CUPS_AUTHENTICATE_JOB <span class="info"> CUPS 1.2/OS X 10.5 </span></dt>
<dd class="description">Authenticate a job </dd>
-<dt>IPP_OP_CUPS_DELETE_CLASS </dt>
+<dt>IPP_OP_CUPS_CREATE_LOCAL_PRINTER <span class="info"> CUPS 2.2 </span></dt>
+<dd class="description">Create a local (temporary) printer <dt>IPP_OP_CUPS_DELETE_CLASS </dt>
<dd class="description">Delete a class</dd>
<dt>IPP_OP_CUPS_DELETE_PRINTER </dt>
<dd class="description">Delete a printer</dd>
<dd class="description">Get a list of classes </dd>
<dt>IPP_OP_CUPS_GET_DEFAULT </dt>
<dd class="description">Get the default printer</dd>
-<dt>IPP_OP_CUPS_GET_DEVICES </dt>
-<dd class="description">Get a list of supported devices</dd>
+<dt>IPP_OP_CUPS_GET_DEVICES <span class="info"> DEPRECATED </span></dt>
+<dd class="description">Get a list of supported devices </dd>
<dt>IPP_OP_CUPS_GET_DOCUMENT <span class="info"> CUPS 1.4/OS X 10.6 </span></dt>
<dd class="description">Get a document file </dd>
-<dt>IPP_OP_CUPS_GET_PPD <span class="info"> CUPS 1.3/OS X 10.5 </span></dt>
+<dt>IPP_OP_CUPS_GET_PPD <span class="info"> DEPRECATED </span></dt>
<dd class="description">Get a PPD file </dd>
-<dt>IPP_OP_CUPS_GET_PPDS </dt>
-<dd class="description">Get a list of supported drivers</dd>
+<dt>IPP_OP_CUPS_GET_PPDS <span class="info"> DEPRECATED </span></dt>
+<dd class="description">Get a list of supported drivers </dd>
<dt>IPP_OP_CUPS_GET_PRINTERS </dt>
<dd class="description">Get a list of printers and/or classes</dd>
<dt>IPP_OP_CUPS_INVALID </dt>
<body>
<div class='body'>
<!--
- "$Id: api-array.header 8087 2008-10-27 21:37:05Z mike $"
-
MIME API header for CUPS.
Copyright 2009 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
MIME API introduction for CUPS.
Copyright 2009 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
Introduction to CUPS programming header for CUPS.
Copyright 2008-2011 by Apple Inc.
<li><a href="#WHERETOGO">Where to Go Next</a></li>
</ul>
<!--
- "$Id: api-cups.header 7279 2008-01-31 01:50:44Z mike $"
-
Introduction to CUPS programming content for CUPS.
Copyright 2008-2011 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-ppd.header 7616 2008-05-28 00:34:13Z mike $"
-
PPD API header for CUPS.
Copyright 2008-2012 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-ppd.shtml 7616 2008-05-28 00:34:13Z mike $"
-
PPD API introduction for CUPS.
Copyright 2007-2012 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id: api-array.header 8087 2008-10-27 21:37:05Z mike $"
-
PPD Compiler API header for CUPS.
Copyright 2009 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
PPD Compiler API introduction for CUPS.
Copyright 2009 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id$"
-
Raster API documentation for CUPS.
Copyright 2008-2010 by Apple Inc.
</ul></li>
</ul>
<!--
- "$Id$"
-
Raster API introduction for CUPS.
Copyright 2007-2013 by Apple Inc.
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright © 2007-2015 by Apple Inc.
-
</body>
</html>
<body>
<div class='body'>
<!--
- "$Id$"
-
PostScript printer driver documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id$"
-
PPD compiler documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id$"
-
Raster printer driver documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
</head>
<body>
<!--
- "$Id$"
-
Banner file format specification for CUPS.
Copyright 2008-2011 by Apple Inc.
</head>
<body>
<!--
- "$Id$"
-
CUPS command file format specification for CUPS.
Copyright 2007-2011 by Apple Inc.
</head>
<body>
<!--
- "$Id$"
-
CUPS PostScript file specification for CUPS.
Copyright 2007-2012 by Apple Inc.
<body>
<div class='body'>
<!--
- "$Id$"
-
PPD extension documentation for CUPS.
Copyright 2007-2011 by Apple Inc.
#
-# "$Id: robots.txt 3494 2003-03-19 15:37:44Z mike $"
-#
-# This file tells search engines not to index your CUPS server.
-#
-# Copyright 1993-2003 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Easy Software Products and are protected by Federal
-# copyright law. Distribution and use rights are outlined in the file
-# "LICENSE.txt" which should have been included with this file. If this
-# file is missing or damaged please contact Easy Software Products
-# at:
-#
-# Attn: CUPS Licensing Information
-# Easy Software Products
-# 44141 Airport View Drive, Suite 204
-# Hollywood, Maryland 20636-3111 USA
-#
-# Voice: (301) 373-9600
-# EMail: cups-info@cups.org
-# WWW: http://www.cups.org
+# This file tells search engines not to index your CUPS server.
#
User-agent: *
Disallow: /
-
-#
-# End of "$Id: robots.txt 3494 2003-03-19 15:37:44Z mike $".
-#
-
+++ /dev/null
-# Where to get things
-IndexDir doc
-
-# Where to put things
-IndexFile doc/swish-e.index
-
-# Ignore image and index files
-FileRules filename contains .gif
-FileRules filename contains .gz
-FileRules filename contains .jpg
-FileRules filename contains .png
-FileRules filename contains .svg
-FileRules filename contains swish-e
-FileRules filename contains .tokens
-FileRules filename is Makefile
-
#
-# "$Id$"
+# PPD compiler example makefile for CUPS.
#
-# PPD compiler example makefile for CUPS.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 2002-2005 by Easy Software Products.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 2002-2005 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
#
$(RM) $(DATADIR)/examples/$$file; \
done
-$(RMDIR) $(DATADIR)/examples
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * Example code for encoding and decoding large amounts of data in a PPD file.
+ * This would typically be used in a driver to save configuration/state
+ * information that could be used by an application.
*
- * Example code for encoding and decoding large amounts of data in a PPD file.
- * This would typically be used in a driver to save configuration/state
- * information that could be used by an application.
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * ppdxReadData() - Read encoded data from a ppd_file_t *.
- * ppdxWriteData() - Writes encoded data to stderr using PPD: messages.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
fputs(line, stderr);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Header for PPD data encoding example code.
*
- * Header for PPD data encoding example code.
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _PPDX_H_
# endif /* __cplusplus */
#endif /* !_PPDX_H */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Test program for PPD data encoding example code.
*
- * Test program for PPD data encoding example code.
+ * Compile with:
*
- * Compile with:
+ * gcc -o testppdx -D_PPD_DEPRECATED="" -g testppdx.c ppdx.c -lcups -lz
*
- * gcc -o testppdx -D_PPD_DEPRECATED="" -g testppdx.c ppdx.c -lcups -lz
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Read data from a test PPD file and write out new chunks.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Filter makefile for CUPS.
#
-# Filter makefile for CUPS.
+# Copyright 2007-2012 by Apple Inc.
+# Copyright 1997-2006 by Easy Software Products.
#
-# Copyright 2007-2012 by Apple Inc.
-# Copyright 1997-2006 by Easy Software Products.
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
-#
-# This file is subject to the Apple OS-Developed Software exception.
+# This file is subject to the Apple OS-Developed Software exception.
#
include ../Makedefs
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
<!--
- "$Id$"
-
Raster API documentation for CUPS.
Copyright 2008-2010 by Apple Inc.
<!--
- "$Id$"
-
Raster API introduction for CUPS.
Copyright 2007-2013 by Apple Inc.
/*
- * "$Id$"
- *
* PostScript command filter for CUPS.
*
* Copyright 2008-2014 by Apple Inc.
end_ps(ppd);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Common filter routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
puts(")");
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Common filter definitions for CUPS.
*
- * Common filter definitions for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Raster error handling for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (&buf);
}
#endif /* HAVE_PTHREAD_H */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* GZIP/raw pre-filter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD command interpreter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
DEBUG_object(prefix, obj);
}
#endif /* DEBUG */
-
-
-/*
- * End of "$Id$".
- */
<!--
- "$Id$"
-
PostScript printer driver documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
<!--
- "$Id$"
-
PPD compiler documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
/*
- * "$Id$"
- *
* PostScript filter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
doc_puts(doc, "userdict/setpagedevice{pop}bind put\n");
}
}
-
-
-/*
- * End of "$Id$".
- */
<!--
- "$Id$"
-
Raster printer driver documentation for CUPS.
Copyright 2007-2012 by Apple Inc.
/*
- * "$Id$"
- *
* Raster file routines for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (count);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Raster benchmark program for CUPS.
*
* Copyright 2007-2016 by Apple Inc.
cupsRasterClose(r);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* EPSON ESC/P and ESC/P2 filter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
else
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Hewlett-Packard Page Control Language filter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
else
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Label printer filter for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
else
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
<!--
- "$Id$"
-
PPD extension documentation for CUPS.
Copyright 2007-2011 by Apple Inc.
/*
- * "$Id$"
- *
* Raster test program routines for CUPS.
*
* Copyright 2007-2016 by Apple Inc.
header->cupsPageSizeName,
expected->cupsPageSizeName);
}
-
-
-/*
- * End of "$Id$".
- */
#!/bin/sh
#
-# "$Id$"
-#
# Install a program, script, or datafile.
#
# Copyright 2008-2012 by Apple Inc.
#
-# "$Id$"
-#
# Locale file makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * Verify that translations in the .po file have the same number and type of
+ * printf-style format strings.
*
- * Verify that translations in the .po file have the same number and type of
- * printf-style format strings.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
* Usage:
*
* Compile with:
*
* gcc -o checkpo checkpo.c `cups-config --libs`
- *
- * Contents:
- *
- * main() - Validate .po files.
- * abbreviate() - Abbreviate a message string as needed.
- * collect_formats() - Collect all of the format strings in the msgid.
- * free_formats() - Free all of the format strings.
*/
#include <cups/cups-private.h>
cupsArrayDelete(fmts);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# Message catalog template for CUPS.
#
-# Copyright 2007-2014 by Apple Inc.
+# Copyright 2007-2016 by Apple Inc.
# Copyright 2005-2007 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
/*
- * "$Id$"
- *
* Convert a GNU gettext .po file to an Apple .strings file.
*
* Copyright 2007-2015 by Apple Inc.
return (buffer);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Convert Apple .strings file (UTF-16 BE text file) to GNU gettext .po files.
*
* Copyright 2007-2014 by Apple Inc.
{
fprintf(po, "%s \"%s\"\n", what, s);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# Man page makefile for CUPS.
#
# Copyright 2007-2015 by Apple Inc.
$(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ mantohtml.o \
../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
$(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
-
-
-#
-# End of "$Id$".
-#
.\"
-.\" "$Id$"
-.\"
.\" Backend man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cancel man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" classes.conf man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" client.conf man page for CUPS.
.\"
.\" Copyright 2007-2015 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cups-config man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cups-files.conf man page for CUPS.
.\"
.\" Copyright 2007-2015 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cups-lpd man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
RFC 2569
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" snmp.conf man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" SNMP backend man page for CUPS.
.\"
.\" Copyright 2012-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cups (intro) man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" accept/reject man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsaddsmb man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsctl man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsd-helper man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsd-logs man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsd man page for CUPS.
.\"
.\" Copyright 2007-2016 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2016 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsenable/cupsdisable man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupsfilter man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupstestdsc man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
Specification, Version 3.0.
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" cupstestppd man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
Adobe PostScript Printer Description File Format Specification, Version 4.3.
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" filter man page for CUPS.
.\"
.\" Copyright 2007-2015 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ippfind man page for CUPS.
.\"
.\" Copyright 2013-2014 by Apple Inc.
.BR ipptool (1)
.SH COPYRIGHT
Copyright \[co] 2013-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ipptool man page for CUPS.
.\"
.\" Copyright 2010-2015 by Apple Inc.
RFC 2911 (http://tools.ietf.org/html/rfc2911),
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ipptoolfile man page for CUPS.
.\"
.\" Copyright 2010-2014 by Apple Inc.
RFC 2911 (http://tools.ietf.org/html/rfc3911)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lp man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpc man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpinfo man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpmove man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpoptions man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpq man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpr man page for CUPS.
.\"
.\" Copyright 2007-2013 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lprm man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" lpstat man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" mailto.conf man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
/*
- * "$Id$"
- *
* Man page to HTML conversion program.
*
* Copyright 2007-2010, 2014 by Apple Inc.
*d = '\0';
}
-
-
-/*
- * End of "$Id$".
- */
.\"
-.\" "$Id$"
-.\"
.\" mime.convs man page for CUPS.
.\"
.\" Copyright 2007-2015 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" mime.types man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" notifier man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdc man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdcfile man page for CUPS.
.\"
.\" Copyright 2007-2016 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdhtml man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdi man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdmerge man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" ppdpo man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" printers.conf man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
.\"
-.\" "$Id$"
-.\"
.\" subscriptions.conf man page for CUPS.
.\"
.\" Copyright 2007-2014 by Apple Inc.
CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
Copyright \[co] 2007-2015 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
#
-# "$Id$"
+# Port monitor makefile for CUPS.
#
-# Port monitor makefile for CUPS.
+# Copyright 2007-2012 by Apple Inc.
+# Copyright 2006 by Easy Software Products.
#
-# Copyright 2007-2012 by Apple Inc.
-# Copyright 2006 by Easy Software Products.
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
-#
-# This file is subject to the Apple OS-Developed Software exception.
+# This file is subject to the Apple OS-Developed Software exception.
#
include ../Makedefs
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* TBCP port monitor for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return ((ssize_t)bytes);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* TBCP port monitor for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return ((ssize_t)bytes);
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
+# Notifier makefile for CUPS.
#
-# Notifier makefile for CUPS.
+# Copyright 2007-2012 by Apple Inc.
+# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2012 by Apple Inc.
-# Copyright 1997-2007 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
$(OBJS): ../Makedefs
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
- *
* D-Bus notifier for CUPS.
*
* Copyright 2008-2014 by Apple Inc.
return (1);
}
#endif /* HAVE_DBUS */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "mailto" notifier for CUPS.
*
- * "mailto" notifier for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Main entry for the mailto notifier.
- * email_message() - Email a notification message.
- * load_configuration() - Load the mailto.conf file.
- * pipe_sendmail() - Open a pipe to sendmail...
- * print_attributes() - Print the attributes in a request...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
ippTagString(attr->value_tag), buffer);
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* RSS notifier for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return (e);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Test notifier for CUPS.
*
- * Test notifier for CUPS.
+ * Copyright 2007-2016 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2016 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Main entry for the test notifier.
- * print_attributes() - Print the attributes in a request...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
ippTagString(attr->value_tag), buffer);
}
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# Makefile for the CUPS PPD Compiler.
#
# Copyright 2007-2015 by Apple Inc.
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
<!--
- "$Id: api-array.header 8087 2008-10-27 21:37:05Z mike $"
-
PPD Compiler API header for CUPS.
Copyright 2009 by Apple Inc.
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
PPD Compiler API introduction for CUPS.
Copyright 2009 by Apple Inc.
//
-// "$Id$"
-//
// GNU gettext message generator for the CUPS PPD Compiler.
//
// This program is used to generate a dummy source file containing all of
}
puts("\");");
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// Array class for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
if (i < count)
memmove(data + i, data + i + 1, (size_t)(count - i) * sizeof(ppdcShared *));
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Attribute class for the CUPS PPD Compiler.
//
-// Attribute class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcAttr::ppdcAttr() - Create an attribute.
-// ppdcAttr::~ppdcAttr() - Destroy an attribute.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
text->release();
value->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// Shared message catalog class for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
return (-1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Option choice class for the CUPS PPD Compiler.
//
-// Option choice class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcChoice::ppdcChoice() - Create a new option choice.
-// ppdcChoice::~ppdcChoice() - Destroy an option choice.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
text->release();
code->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Contraint class for the CUPS PPD Compiler.
//
-// Contraint class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcConstraint::ppdcConstraint() - Create a constraint.
-// ppdcConstraint::~ppdcConstraint() - Destroy a constraint.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
option2->release();
choice2->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// PPD file compiler definitions for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// File class for the CUPS PPD Compiler.
//
-// File class for the CUPS PPD Compiler.
+// Copyright 2007-2010 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2010 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcFile::ppdcFile() - Create (open) a file.
-// ppdcFile::~ppdcFile() - Delete (close) a file.
-// ppdcFile::get() - Get a character from a file.
-// ppdcFile::peek() - Look at the next character from a file.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
// Otherwise return the next character without advancing...
return (cupsFilePeekChar(fp));
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Filter class for the CUPS PPD Compiler.
//
-// Filter class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcFilter::ppdcFilter() - Create a filter.
-// ppdcFilter::~ppdcFilter() - Destroy a filter.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
mime_type->release();
program->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Shared font class for the CUPS PPD Compiler.
//
-// Shared font class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcFont::ppdcFont() - Create a shared font.
-// ppdcFont::~ppdcFont() - Destroy a shared font.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
version->release();
charset->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Group class for the CUPS PPD Compiler.
//
-// Group class for the CUPS PPD Compiler.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2011 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcGroup::ppdcGroup() - Copy a new group.
-// ppdcGroup::~ppdcGroup() - Destroy a group.
-// ppdcGroup::find_option() - Find an option in a group.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
return (0);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// PPD file import methods for the CUPS PPD Compiler.
//
-// PPD file import methods for the CUPS PPD Compiler.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 2002-2006 by Easy Software Products.
//
-// Copyright 2007-2011 by Apple Inc.
-// Copyright 2002-2006 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcSource::import_ppd() - Import a PPD file.
-// ppd_gets() - Get a line from a PPD file.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
return (1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Shared media size class for the CUPS PPD Compiler.
//
-// Shared media size class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcMediaSize::ppdcMediaSize() - Create a new media size.
-// ppdcMediaSize::~ppdcMediaSize() - Destroy a media size.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
size_code->release();
region_code->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Shared message class for the CUPS PPD Compiler.
//
-// Shared message class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcMessage::ppdcMessage() - Create a shared message.
-// ppdcMessage::~ppdcMessage() - Destroy a shared message.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
id->release();
string->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Option class for the CUPS PPD Compiler.
//
-// Option class for the CUPS PPD Compiler.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2011 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcOption::ppdcOption() - Copy a new option.
-// ppdcOption::~ppdcOption() - Destroy an option.
-// ppdcOption::find_choice() - Find an option choice.
-// ppdcOption::set_defchoice() - Set the default choice.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
defchoice = c->name;
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Private definitions for the CUPS PPD Compiler.
//
-// Private definitions for the CUPS PPD Compiler.
+// Copyright 2009-2010 by Apple Inc.
//
-// Copyright 2009-2010 by Apple Inc.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
#ifndef _PPDC_PRIVATE_H_
#endif // !_PPDC_PRIVATE_H_
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Color profile class for the CUPS PPD Compiler.
//
-// Color profile class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcProfile::ppdcProfile() - Create a color profile.
-// ppdcProfile::~ppdcProfile() - Destroy a color profile.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
resolution->release();
media_type->release();
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Shared data class for the CUPS PPD Compiler.
//
-// Shared data class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcShared::ppdcShared() - Create shared data.
-// ppdcShared::~ppdcShared() - Destroy shared data.
-// ppdcShared::release() - Decrement the use count and delete as needed.
-// ppdcShared::retain() - Increment the use count for this data.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
DEBUG_printf(("%s: %p retain use=%d", class_name(), this, use));
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// Source class for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Shared string class for the CUPS PPD Compiler.
//
-// Shared string class for the CUPS PPD Compiler.
+// Copyright 2007-2012 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2012 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcString::ppdcString() - Create a shared string.
-// ppdcString::~ppdcString() - Destroy a shared string.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
if (value)
delete[] value;
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Variable class for the CUPS PPD Compiler.
//
-// Variable class for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// ppdcVariable::ppdcVariable() - Create a variable.
-// ppdcVariable::~ppdcVariable() - Destroy a variable.
-// ppdcVariable::set_value() - Set the value of a variable.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
value->release();
value = new ppdcString(v);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// PPD file compiler main entry for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
exit(1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Definitions for the CUPS PPD Compiler.
//
-// Definitions for the CUPS PPD Compiler.
+// Copyright 2007-2009 by Apple Inc.
+// Copyright 2002-2007 by Easy Software Products.
//
-// Copyright 2007-2009 by Apple Inc.
-// Copyright 2002-2007 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
#ifndef _PPDC_H_
#endif // !_PPDC_H_
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// PPD to HTML utility for the CUPS PPD Compiler.
//
// Copyright 2007-2015 by Apple Inc.
exit(1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// PPD file import utility for the CUPS PPD Compiler.
//
-// PPD file import utility for the CUPS PPD Compiler.
+// Copyright 2007-2011 by Apple Inc.
+// Copyright 2002-2005 by Easy Software Products.
//
-// Copyright 2007-2011 by Apple Inc.
-// Copyright 2002-2005 by Easy Software Products.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// main() - Main entry for the PPD import utility.
-// usage() - Show usage and exit.
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
exit(1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// PPD file merge utility for the CUPS PPD Compiler.
//
// Copyright 2007-2014 by Apple Inc.
exit(1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
-//
// PPD file message catalog program for the CUPS PPD Compiler.
//
// Copyright 2007-2015 by Apple Inc.
exit(1);
}
-
-
-//
-// End of "$Id$".
-//
//
-// "$Id$"
+// Test program for message catalog class.
//
-// Test program for message catalog class.
+// Copyright 2008 by Apple Inc.
//
-// Copyright 2008 by Apple Inc.
-//
-// These coded instructions, statements, and computer programs are the
-// property of Apple Inc. and are protected by Federal copyright
-// law. Distribution and use rights are outlined in the file "LICENSE.txt"
-// which should have been included with this file. If this file is
-// file is missing or damaged, see the license at "http://www.cups.org/".
-//
-// Contents:
-//
-// main() - Open a message catalog
+// These coded instructions, statements, and computer programs are the
+// property of Apple Inc. and are protected by Federal copyright
+// law. Distribution and use rights are outlined in the file "LICENSE.txt"
+// which should have been included with this file. If this file is
+// file is missing or damaged, see the license at "http://www.cups.org/".
//
//
//
-// 'main()' - Open a message catalog
+// 'main()' - Open a message catalog
//
int // O - Exit status
// Return with no errors.
return (0);
}
-
-
-//
-// End of "$Id$".
-//
#
-# "$Id$"
-#
# Scheduler Makefile for CUPS.
#
# Copyright 2007-2015 by Apple Inc.
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
<!--
- "$Id: api-array.header 8087 2008-10-27 21:37:05Z mike $"
-
MIME API header for CUPS.
Copyright 2009 by Apple Inc.
<!--
- "$Id: api-array.shtml 7616 2008-05-28 00:34:13Z mike $"
-
MIME API introduction for CUPS.
Copyright 2009 by Apple Inc.
/*
- * "$Id$"
- *
* Authorization routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
*s++ = itoa64[v & 0x3f];
}
#endif /* HAVE_LIBPAM */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Authorization definitions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
extern void cupsdFreeLocation(cupsd_location_t *loc);
extern http_status_t cupsdIsAuthorized(cupsd_client_t *con, const char *owner);
extern cupsd_location_t *cupsdNewLocation(const char *location);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Banner routines for the CUPS scheduler.
*
- * Banner routines for the CUPS scheduler.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * cupsdFindBanner() - Find a named banner.
- * cupsdLoadBanners() - Load all available banner files...
- * add_banner() - Add a banner to the array.
- * compare_banners() - Compare two banners.
- * free_banners() - Free all banners.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
cupsArrayDelete(Banners);
Banners = NULL;
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Banner definitions for the CUPS scheduler.
*
- * Banner definitions for the CUPS scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
extern cupsd_banner_t *cupsdFindBanner(const char *name);
extern void cupsdLoadBanners(const char *d);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Authentication certificate routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
return (result);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Authentication certificate definitions for the CUPS scheduler.
*
- * Authentication certificate definitions for the CUPS scheduler.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
extern void cupsdDeleteAllCerts(void);
extern cupsd_cert_t *cupsdFindCert(const char *certificate);
extern void cupsdInitCerts(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printer class routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
cupsdCloseCreatedConfFile(fp, filename);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Printer class definitions for the CUPS scheduler.
*
- * Printer class definitions for the CUPS scheduler.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
extern cupsd_printer_t *cupsdFindClass(const char *name);
extern void cupsdLoadAllClasses(void);
extern void cupsdSaveAllClasses(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Client routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
cupsdLogClient(con, CUPSD_LOG_DEBUG, "CGI data ready to be sent.");
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Client definitions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
extern int cupsdEndTLS(cupsd_client_t *con);
extern int cupsdStartTLS(cupsd_client_t *con);
#endif /* HAVE_SSL */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Color management routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
colord_delete_device(device_id);
}
#endif /* __APPLE__ */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Color management definitions for the CUPS scheduler.
*
- * Color management definitions for the CUPS scheduler.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
extern void cupsdStartColor(void);
extern void cupsdStopColor(void);
extern void cupsdUnregisterColor(cupsd_printer_t *p);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Configuration routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
cupsdAddString(&(pol->sub_attrs), "notify-user-data");
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Configuration file definitions for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
extern int cupsdLogRequest(cupsd_client_t *con, http_status_t code);
extern int cupsdReadConfiguration(void);
extern int cupsdWriteErrorLog(int level, const char *message);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Device scanning mini-daemon for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* PPD/driver support for CUPS.
*
* This program handles listing and installing static PPD files, PPD files
return (NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Sandbox helper for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
fputs("Usage: cups-exec [-g gid] [-n nice-value] [-u uid] /path/to/profile /path/to/program argv0 argv1 ... argvN\n", stderr);
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
#!/bin/sh
#
-# "$Id$"
-#
# Startup/shutdown script for CUPS.
#
# Copyright 2007-2013 by Apple Inc.
#
exit 0
-
-
-#
-# End of "$Id$".
-#
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
- $Id$
-
Service manifest for CUPS.
This service manifest introduces smf(5) services for CUPS. The services
/*
- * "$Id$"
- *
* Main header file for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
/* server.c */
extern void cupsdStartServer(void);
extern void cupsdStopServer(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Filtering program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Directory services routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
else
cupsdLogMessage(CUPSD_LOG_INFO, "Unknown SMBConfigFile scheme!");
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Directory services definitions for the CUPS scheduler.
*
- * Directory services definitions for the CUPS scheduler.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI)
extern void cupsdUpdateDNSSDName(void);
#endif /* HAVE_DNSSD || HAVE_AVAHI */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Environment management routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
return (-1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* File functions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
return (fsync(fd));
}
#endif /* HAVE_REMOVEFILE */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * File type conversion routines for CUPS.
*
- * File type conversion routines for CUPS.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * mimeAddFilter() - Add a filter to the current MIME database.
- * mimeFilter() - Find the fastest way to convert from one type to
- * another.
- * mimeFilter2() - Find the fastest way to convert from one type to
- * another, including the file size.
- * mimeFilterLookup() - Lookup a filter.
- * mime_compare_filters() - Compare two filters.
- * mime_compare_srcs() - Compare two filter source types.
- * mime_find_filters() - Find the filters to convert from one type to
- * another.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (NULL);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Print job definitions for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
extern int cupsdTimeoutJob(cupsd_job_t *job);
extern void cupsdUnloadCompletedJobs(void);
extern void cupsdUpdateJobs(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Server listening routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
#endif /* HAVE_LAUNCHD || HAVE_SYSTEMD */
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Log file routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
return (1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Private MIME type/conversion database definitions for CUPS.
*
- * Private MIME type/conversion database definitions for CUPS.
+ * Copyright 2011 by Apple Inc.
*
- * Copyright 2011 by Apple Inc.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPS_MIME_PRIVATE_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_MIME_PRIVATE_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* MIME database file routines for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
cupsFileClose(fp);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * MIME type/conversion database definitions for CUPS.
*
- * MIME type/conversion database definitions for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPS_MIME_H_
}
# endif /* __cplusplus */
#endif /* !_CUPS_MIME_H_ */
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Network interface functions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
{
return (strcmp(a->name, b->name));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Network interface definitions for the CUPS scheduler.
*
- * Network interface definitions for the CUPS scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * "LICENSE" which should have been included with this file. If this
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * "LICENSE" which should have been included with this file. If this
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
extern cupsd_netif_t *cupsdNetIFFind(const char *name);
extern void cupsdNetIFUpdate(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Policy routines for the CUPS scheduler.
*
* Copyright 2007-2011, 2014 by Apple Inc.
{
return (((op->op >> 6) & 0x40) | (op->op & 0x3f));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Policy definitions for the CUPS scheduler.
*
- * Policy definitions for the CUPS scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
cupsd_client_t *con,
cupsd_printer_t *printer,
const char *owner);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printer routines for the CUPS scheduler.
*
* Copyright 2007-2016 by Apple Inc.
if (s > start)
cupsFilePuts(fp, start);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printer definitions for the CUPS scheduler.
*
* Copyright 2007-2016 by Apple Inc.
cups_ptype_t *dtype,
cupsd_printer_t **printer);
extern void cupsdWritePrintcap(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Process management routines for the CUPS scheduler.
*
* Copyright 2007-2015 by Apple Inc.
return (dst);
}
#endif /* HAVE_SANDBOX_H */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Quota routines for the CUPS scheduler.
*
- * Quota routines for the CUPS scheduler.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2011 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * cupsdFindQuota() - Find a quota record.
- * cupsdFreeQuotas() - Free quotas for a printer.
- * cupsdUpdateQuota() - Update quota data for the specified printer and user.
- * add_quota() - Add a quota record for this printer and user.
- * compare_quotas() - Compare two quota records...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
{
return (_cups_strcasecmp(q1->username, q2->username));
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Select abstraction functions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
return (fdptr);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Server start/stop routines for the CUPS scheduler.
*
- * Server start/stop routines for the CUPS scheduler.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
- * 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
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * cupsdStartServer() - Start the server.
- * cupsdStopServer() - Stop the server.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
started = 0;
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Status buffer routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
return (line);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Status buffer definitions for the CUPS scheduler.
*
- * Status buffer definitions for the CUPS scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2005 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2005 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
extern cupsd_statbuf_t *cupsdStatBufNew(int fd, const char *prefix, ...);
extern char *cupsdStatBufUpdate(cupsd_statbuf_t *sb, int *loglevel,
char *line, int linelen);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Subscription routines for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
break;
}
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Subscription definitions for the CUPS scheduler.
*
- * Subscription definitions for the CUPS scheduler.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
extern void cupsdLoadAllSubscriptions(void);
extern void cupsdSaveAllSubscriptions(void);
extern void cupsdStopAllNotifiers(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* System management functions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
cupsdRegisterPrinter(p);
}
#endif /* __APPLE__ */
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* System management definitions for the CUPS scheduler.
*
* Copyright 2007-2014 by Apple Inc.
extern void cupsdSetBusyState(void);
extern void cupsdStartSystemMonitor(void);
extern void cupsdStopSystemMonitor(void);
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* cups-lpd test program for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
exit(0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* MIME test program for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
cupsDirClose(dir);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Scheduler speed test for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
"[-E] hostname[:port]");
exit(0);
}
-
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Scheduler notification tester for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
puts("Usage: testsub [-E] [-e event ... -e eventN] [-h hostname] URI");
exit(0);
}
-
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Mini-daemon utility functions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
putchar(IPP_TAG_END);
fflush(stdout);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Mini-daemon utility definitions for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
# endif /* __cplusplus */
#endif /* !_CUPSD_UTIL_H_ */
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# System V commands makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * "cancel" command for CUPS.
*
- * "cancel" command for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Parse options and cancel jobs.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "cupsaccept", "cupsdisable", "cupsenable", and "cupsreject" commands for
+ * CUPS.
*
- * "cupsaccept", "cupsdisable", "cupsenable", and "cupsreject" commands for
- * CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Parse options and accept/reject jobs or disable/enable printers.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "cupsaddsmb" command for CUPS.
*
- * "cupsaddsmb" command for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2001-2006 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 2001-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Export printers on the command-line.
- * export_dest() - Export a destination to SAMBA.
- * usage() - Show program usage and exit...
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * Scheduler control program for CUPS.
*
- * Scheduler control program for CUPS.
+ * Copyright 2007-2012 by Apple Inc.
+ * Copyright 2006-2007 by Easy Software Products.
*
- * Copyright 2007-2012 by Apple Inc.
- * Copyright 2006-2007 by Easy Software Products.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Get/set server settings.
- * usage() - Show program usage.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * DSC test program for CUPS.
*
- * DSC test program for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2006 by Easy Software Products, all rights reserved.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 2006 by Easy Software Products, all rights reserved.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * PostScript is a trademark of Adobe Systems, Inc.
*
- * PostScript is a trademark of Adobe Systems, Inc.
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Main entry for test program.
- * check() - Check a file for conformance.
- * usage() - Show program usage.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* "lp" command for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* "lpadmin" command for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
return ((ptr - name) < 128);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "lpinfo" command for CUPS.
*
- * "lpinfo" command for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Parse options and show information.
- * device_cb - Device callback.
- * show_devices() - Show available devices.
- * show_models() - Show available PPDs.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
+ * "lpmove" command for CUPS.
*
- * "lpmove" command for CUPS.
+ * Copyright 2007-2010 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products.
*
- * Copyright 2007-2010 by Apple Inc.
- * Copyright 1997-2006 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * main() - Parse options and move jobs.
- * move_job() - Move a job.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
else
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Printer option program for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
exit(1);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* "lpstat" command for CUPS.
*
* Copyright 2007-2014 by Apple Inc.
else
_cupsLangPuts(stdout, _("scheduler is not running"));
}
-
-
-/*
- * End of "$Id$".
- */
#
-# "$Id$"
-#
# Template makefile for CUPS.
#
# Copyright 2007-2014 by Apple Inc.
done
uninstall-langbundle:
-
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
-#
# Test the lpadmin command.
#
# Copyright 2007-2013 by Apple Inc.
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lpc command.
#
-# Test the lpc command.
+# Copyright 2007 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPC Test"
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lpq command.
#
-# Test the lpq command.
+# Copyright 2007 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPQ Test"
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lpstat command.
#
-# Test the lpstat command.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPSTAT Test"
echo " PASSED ($server)"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lp command.
#
-# Test the lp command.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2014 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LP Default Test"
echo " PASSED"
fi
echo ""
-
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lpr command.
#
-# Test the lpr command.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2014 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPR Default Test"
echo ""
./waitjobs.sh
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lprm command.
#
-# Test the lprm command.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPRM Current Test"
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the cancel command.
#
-# Test the cancel command.
+# Copyright 2007-2013 by Apple Inc.
+# Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2013 by Apple Inc.
-# Copyright 1997-2006 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "Cancel Destination Test"
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#!/bin/sh
#
-# "$Id$"
+# Test the lpinfo command.
#
-# Test the lpinfo command.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 1997-2005 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
echo "LPINFO Devices Test"
echo " PASSED"
fi
echo ""
-
-#
-# End of "$Id$".
-#
#
-# "$Id$"
+# IPP test makefile for CUPS.
#
-# IPP test makefile for CUPS.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
-# Copyright 2007-2014 by Apple Inc.
-# Copyright 1997-2006 by Easy Software Products, all rights reserved.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
include ../Makedefs
#
include Dependencies
-
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * ippdiscover command for CUPS.
*
- * ippdiscover command for CUPS.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
+ * This file is subject to the Apple OS-Developed Software exception.
*/
exit(0);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Utility to find IPP printers via Bonjour/DNS-SD and optionally run
* commands such as IPP and Bonjour conformance tests. This tool is
* inspired by the UNIX "find" command, thus its name.
exit(IPPFIND_EXIT_TRUE);
}
-
-
-/*
- * End of "$Id$".
- */
/*
- * "$Id$"
- *
* Sample IPP INFRA server for CUPS.
*
* Copyright 2010-2014 by Apple Inc.
return (valid);
}
-
-
-/*
- * End of "$Id$".
- */
.\"
-.\" "$Id$"
-.\"
.\" ippinfra man page for CUPS.
.\"
.\" Copyright 2014 by Apple Inc.
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
.SH COPYRIGHT
Copyright \[co] 2007-2014 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
/*
- * "$Id$"
- *
* CUPS Cloud Proxy for HP PCL and IPP Everywhere printers.
*
* Copyright 2014 by Apple Inc.
return (0);
}
-
-
-/*
- * End of "$Id$".
- */
.\"
-.\" "$Id$"
-.\"
.\" ippproxy man page for CUPS.
.\"
.\" Copyright 2014 by Apple Inc.
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
.SH COPYRIGHT
Copyright \[co] 2007-2014 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
/*
- * "$Id$"
- *
* Sample IPP Everywhere server for CUPS.
*
* Copyright 2010-2015 by Apple Inc.
return (valid);
}
-
-
-/*
- * End of "$Id$".
- */
.\"
-.\" "$Id$"
-.\"
.\" ippserver man page for CUPS.
.\"
.\" Copyright 2014 by Apple Inc.
PWG Internet Printing Protocol Workgroup (http://www.pwg.org/ipp)
.SH COPYRIGHT
Copyright \[co] 2007-2014 by Apple Inc.
-.\"
-.\" End of "$Id$".
-.\"
#!/bin/sh
#
-# "$Id$"
-#
# Perform the complete set of IPP compliance tests specified in the
# CUPS Software Test Plan.
#
exit 1
fi
-
-#
-# End of "$Id$"
-#
#!/bin/sh
#
-# "$Id$"
-#
# Script to wait for jobs to complete.
#
# Copyright 2008-2009 by Apple Inc.
done
echo ""
-
-#
-# End of "$Id$".
-#
/*
- * "$Id$"
+ * IANA XML registration to test file generator for CUPS.
*
- * IANA XML registration to test file generator for CUPS.
+ * Copyright 2011-2012 by Apple Inc.
*
- * Copyright 2011-2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*
* Usage:
*
* ./xmltotest [--ref standard] {--job|--printer} [XML file/URL] >file.test
*
- * If not specified, loads the XML registrations from:
- *
- * http://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml
+ * If not specified, loads the XML registrations from:
*
- * "Standard" is of the form "rfcNNNN" or "pwgNNNN.N".
+ * http://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml
*
- * Contents:
- *
- * main() - Process command-line arguments.
- * compare_reg() - Compare two registrations.
- * load_xml() - Load the XML registration file or URL.
- * match_xref() - Compare the xref against the named standard.
- * new_reg() - Create a new registration record.
- * usage() - Show usage message.
- * write_expect() - Write an EXPECT test for an attribute.
+ * "Standard" is of the form "rfcNNNN" or "pwgNNNN.N".
*/
return (1);
}
#endif /* HAVE_MXML */
-
-
-/*
- * End of "$Id$".
- */
#!/bin/sh
#
-# "$Id$"
-#
# makesrcdist - make a source distribution of CUPS.
#
rm -rf cups-$version
echo "Done - files in $TMPDIR."
-
-#
-# End of "$Id$".
-#
728FB7EF1536167A005426E1 /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = /usr/lib/libiconv.dylib; sourceTree = "<absolute>"; };
728FB7F01536167A005426E1 /* libresolv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libresolv.dylib; path = /usr/lib/libresolv.dylib; sourceTree = "<absolute>"; };
729D4B561A2CB48700692B21 /* CHANGES-2.0.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = "CHANGES-2.0.txt"; path = "../CHANGES-2.0.txt"; sourceTree = "<group>"; };
- 729D4B571A2CB48700692B21 /* CHANGES-IPPTOOL.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = "CHANGES-IPPTOOL.txt"; path = "../CHANGES-IPPTOOL.txt"; sourceTree = "<group>"; };
72A4332F155844CF002E172D /* libcups_static.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libcups_static.a; sourceTree = BUILT_PRODUCTS_DIR; };
72A8B3D61C188BDE00A1A547 /* ppd-util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "ppd-util.c"; path = "../cups/ppd-util.c"; sourceTree = "<group>"; };
72C16CB8137B195D007E4BF4 /* file.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = file.c; path = ../scheduler/file.c; sourceTree = SOURCE_ROOT; };
72E65BDE18DCA35700097E89 /* CHANGES.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = CHANGES.txt; path = ../CHANGES.txt; sourceTree = "<group>"; };
72E65BDF18DCA35700097E89 /* CREDITS.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = CREDITS.txt; path = ../CREDITS.txt; sourceTree = "<group>"; };
72E65BE018DCA35700097E89 /* INSTALL.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = INSTALL.txt; path = ../INSTALL.txt; sourceTree = "<group>"; };
- 72E65BE118DCA35700097E89 /* IPPTOOL.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = IPPTOOL.txt; path = ../IPPTOOL.txt; sourceTree = "<group>"; };
72E65BE218DCA35700097E89 /* LICENSE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = LICENSE.txt; path = ../LICENSE.txt; sourceTree = "<group>"; };
72E65BE318DCA35700097E89 /* README.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = README.txt; path = ../README.txt; sourceTree = "<group>"; };
72F75A521336F950004BB496 /* cupstestppd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cupstestppd; sourceTree = BUILT_PRODUCTS_DIR; };
72E65BCC18DC7A9800097E89 /* api-raster.shtml */,
72E65BDD18DCA35700097E89 /* CHANGES-1.7.txt */,
729D4B561A2CB48700692B21 /* CHANGES-2.0.txt */,
- 729D4B571A2CB48700692B21 /* CHANGES-IPPTOOL.txt */,
72E65BDE18DCA35700097E89 /* CHANGES.txt */,
72E65BDF18DCA35700097E89 /* CREDITS.txt */,
72E65BB918DC7A3600097E89 /* doc */,
72E65BE018DCA35700097E89 /* INSTALL.txt */,
- 72E65BE118DCA35700097E89 /* IPPTOOL.txt */,
72E65BE218DCA35700097E89 /* LICENSE.txt */,
72E65BBA18DC7A3600097E89 /* man */,
72E65BCD18DC7A9800097E89 /* postscript-driver.header */,