]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/ppd-private.h
Update visibility stuff so we can build libcups.2.dylib without an exports list.
[thirdparty/cups.git] / cups / ppd-private.h
index 1f864632b78c44a9537c2658458c6d4f75e7501f..9aa15059bf3f98666c06925ddbf5ba1519babe41 100644 (file)
@@ -155,59 +155,59 @@ struct _ppd_cache_s                       /**** PPD cache and PWG conversion data ****/
  * Prototypes...
  */
 
-extern int             _cupsConvertOptions(ipp_t *request, ppd_file_t *ppd, _ppd_cache_t *pc, ipp_attribute_t *media_col_sup, ipp_attribute_t *doc_handling_sup, ipp_attribute_t *print_color_mode_sup, const char *user, const char *format, int copies, int num_options, cups_option_t *options);
+extern int             _cupsConvertOptions(ipp_t *request, ppd_file_t *ppd, _ppd_cache_t *pc, ipp_attribute_t *media_col_sup, ipp_attribute_t *doc_handling_sup, ipp_attribute_t *print_color_mode_sup, const char *user, const char *format, int copies, int num_options, cups_option_t *options) _CUPS_PRIVATE;
 extern _ppd_cache_t    *_ppdCacheCreateWithFile(const char *filename,
-                                                ipp_t **attrs);
-extern _ppd_cache_t    *_ppdCacheCreateWithPPD(ppd_file_t *ppd);
-extern void            _ppdCacheDestroy(_ppd_cache_t *pc);
+                                                ipp_t **attrs) _CUPS_PRIVATE;
+extern _ppd_cache_t    *_ppdCacheCreateWithPPD(ppd_file_t *ppd) _CUPS_PRIVATE;
+extern void            _ppdCacheDestroy(_ppd_cache_t *pc) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetBin(_ppd_cache_t *pc,
-                                        const char *output_bin);
+                                        const char *output_bin) _CUPS_PRIVATE;
 extern int             _ppdCacheGetFinishingOptions(_ppd_cache_t *pc,
                                                     ipp_t *job,
                                                     ipp_finishings_t value,
                                                     int num_options,
-                                                    cups_option_t **options);
-extern int             _ppdCacheGetFinishingValues(ppd_file_t *ppd, _ppd_cache_t *pc, int max_values, int *values);
+                                                    cups_option_t **options) _CUPS_PRIVATE;
+extern int             _ppdCacheGetFinishingValues(ppd_file_t *ppd, _ppd_cache_t *pc, int max_values, int *values) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetInputSlot(_ppd_cache_t *pc, ipp_t *job,
-                                              const char *keyword);
+                                              const char *keyword) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetMediaType(_ppd_cache_t *pc, ipp_t *job,
-                                              const char *keyword);
+                                              const char *keyword) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetOutputBin(_ppd_cache_t *pc,
-                                              const char *keyword);
+                                              const char *keyword) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetPageSize(_ppd_cache_t *pc, ipp_t *job,
-                                             const char *keyword, int *exact);
+                                             const char *keyword, int *exact) _CUPS_PRIVATE;
 extern pwg_size_t      *_ppdCacheGetSize(_ppd_cache_t *pc,
-                                         const char *page_size);
+                                         const char *page_size) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetSource(_ppd_cache_t *pc,
-                                           const char *input_slot);
+                                           const char *input_slot) _CUPS_PRIVATE;
 extern const char      *_ppdCacheGetType(_ppd_cache_t *pc,
-                                         const char *media_type);
+                                         const char *media_type) _CUPS_PRIVATE;
 extern int             _ppdCacheWriteFile(_ppd_cache_t *pc,
-                                          const char *filename, ipp_t *attrs);
-extern char            *_ppdCreateFromIPP(char *buffer, size_t bufsize, ipp_t *response);
-extern void            _ppdFreeLanguages(cups_array_t *languages);
-extern cups_encoding_t _ppdGetEncoding(const char *name);
-extern cups_array_t    *_ppdGetLanguages(ppd_file_t *ppd);
-extern _ppd_globals_t  *_ppdGlobals(void);
-extern unsigned                _ppdHashName(const char *name);
+                                          const char *filename, ipp_t *attrs) _CUPS_PRIVATE;
+extern char            *_ppdCreateFromIPP(char *buffer, size_t bufsize, ipp_t *response) _CUPS_PRIVATE;
+extern void            _ppdFreeLanguages(cups_array_t *languages) _CUPS_PRIVATE;
+extern cups_encoding_t _ppdGetEncoding(const char *name) _CUPS_PRIVATE;
+extern cups_array_t    *_ppdGetLanguages(ppd_file_t *ppd) _CUPS_PRIVATE;
+extern _ppd_globals_t  *_ppdGlobals(void) _CUPS_PRIVATE;
+extern unsigned                _ppdHashName(const char *name) _CUPS_PRIVATE;
 extern ppd_attr_t      *_ppdLocalizedAttr(ppd_file_t *ppd, const char *keyword,
-                                          const char *spec, const char *ll_CC);
+                                          const char *spec, const char *ll_CC) _CUPS_PRIVATE;
 extern char            *_ppdNormalizeMakeAndModel(const char *make_and_model,
                                                   char *buffer,
-                                                  size_t bufsize);
+                                                  size_t bufsize) _CUPS_PRIVATE;
 extern ppd_file_t      *_ppdOpen(cups_file_t *fp,
-                                 _ppd_localization_t localization);
+                                 _ppd_localization_t localization) _CUPS_PRIVATE;
 extern ppd_file_t      *_ppdOpenFile(const char *filename,
-                                     _ppd_localization_t localization);
+                                     _ppd_localization_t localization) _CUPS_PRIVATE;
 extern int             _ppdParseOptions(const char *s, int num_options,
                                         cups_option_t **options,
-                                        _ppd_parse_t which);
+                                        _ppd_parse_t which) _CUPS_PRIVATE;
 extern const char      *_pwgInputSlotForSource(const char *media_source,
-                                               char *name, size_t namesize);
+                                               char *name, size_t namesize) _CUPS_PRIVATE;
 extern const char      *_pwgMediaTypeForType(const char *media_type,
-                                             char *name, size_t namesize);
+                                             char *name, size_t namesize) _CUPS_PRIVATE;
 extern const char      *_pwgPageSizeForMedia(pwg_media_t *media,
-                                             char *name, size_t namesize);
+                                             char *name, size_t namesize) _CUPS_PRIVATE;
 
 
 /*