]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/pwg-private.h
2 * Private PWG media API definitions for CUPS.
4 * Copyright 2009-2016 by Apple Inc.
6 * These coded instructions, statements, and computer programs are the
7 * property of Apple Inc. and are protected by Federal copyright
8 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
9 * which should have been included with this file. If this file is
10 * missing or damaged, see the license at "http://www.cups.org/".
12 * This file is subject to the Apple OS-Developed Software exception.
15 #ifndef _CUPS_PWG_PRIVATE_H_
16 # define _CUPS_PWG_PRIVATE_H_
20 * Include necessary headers...
23 # include <cups/cups.h>
32 # endif /* __cplusplus */
39 extern void _pwgGenerateSize(char *keyword
, size_t keysize
,
42 int width
, int length
)
43 _CUPS_INTERNAL_MSG("Use pwgFormatSizeName instead.");
44 extern int _pwgInitSize(pwg_size_t
*size
, ipp_t
*job
,
46 _CUPS_INTERNAL_MSG("Use pwgInitSize instead.");
47 extern const pwg_media_t
*_pwgMediaTable(size_t *num_media
);
48 extern pwg_media_t
*_pwgMediaNearSize(int width
, int length
, int epsilon
);
52 # endif /* __cplusplus */
54 #endif /* !_CUPS_PWG_PRIVATE_H_ */