From d680d3826c3f3c81e9b36594f9b8ed6b337725c2 Mon Sep 17 00:00:00 2001 From: msweet Date: Tue, 25 Jun 2013 14:30:18 +0000 Subject: [PATCH] Also deprecate cupsGetPPD and cupsGetPPD2. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11057 a1ca3aef-8c08-0410-bb20-df032aa958be --- cups/cups.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cups/cups.h b/cups/cups.h index 4c1ed2e729..b9f52eaf28 100644 --- a/cups/cups.h +++ b/cups/cups.h @@ -358,7 +358,8 @@ extern int cupsGetClasses(char ***classes) _CUPS_DEPRECATED_MSG("Use cupsGetDes extern const char *cupsGetDefault(void); extern int cupsGetJobs(cups_job_t **jobs, const char *name, int myjobs, int whichjobs); -extern const char *cupsGetPPD(const char *name); +extern const char *cupsGetPPD(const char *name) + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo instead."); extern int cupsGetPrinters(char ***printers) _CUPS_DEPRECATED_MSG("Use cupsGetDests instead."); extern ipp_status_t cupsLastError(void); extern int cupsPrintFile(const char *name, const char *filename, @@ -417,7 +418,7 @@ extern int cupsGetJobs2(http_t *http, cups_job_t **jobs, const char *name, int myjobs, int whichjobs) _CUPS_API_1_1_21; extern const char *cupsGetPPD2(http_t *http, const char *name) - _CUPS_API_1_1_21; + _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo instead."); extern int cupsPrintFile2(http_t *http, const char *name, const char *filename, const char *title, int num_options, -- 2.47.3