2 * Private PWG media API definitions for CUPS.
4 * Copyright 2009-2016 by Apple Inc.
6 * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
9 #ifndef _CUPS_PWG_PRIVATE_H_
10 # define _CUPS_PWG_PRIVATE_H_
14 * Include necessary headers...
17 # include <cups/cups.h>
26 # endif /* __cplusplus */
33 extern void _pwgGenerateSize(char *keyword, size_t keysize,
36 int width, int length)
37 _CUPS_INTERNAL_MSG("Use pwgFormatSizeName instead.");
38 extern int _pwgInitSize(pwg_size_t *size, ipp_t *job,
40 _CUPS_INTERNAL_MSG("Use pwgInitSize instead.");
41 extern const pwg_media_t *_pwgMediaTable(size_t *num_media) _CUPS_PRIVATE;
42 extern pwg_media_t *_pwgMediaNearSize(int width, int length, int epsilon) _CUPS_PRIVATE;
46 # endif /* __cplusplus */
48 #endif /* !_CUPS_PWG_PRIVATE_H_ */