]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/dest-localization.c
4 * Destination localization support for CUPS.
6 * Copyright 2012 by Apple Inc.
8 * These coded instructions, statements, and computer programs are the
9 * property of Apple Inc. and are protected by Federal copyright
10 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
11 * which should have been included with this file. If this file is
12 * file is missing or damaged, see the license at "http://www.cups.org/".
14 * This file is subject to the Apple OS-Developed Software exception.
18 * cupsLocalizeDestOption() - Get the localized string for a destination
20 * cupsLocalizeDestValue() - Get the localized string for a destination
25 * Include necessary headers...
28 #include "cups-private.h"
32 * 'cupsLocalizeDestOption()' - Get the localized string for a destination
35 * The returned string is stored in the localization array and will become
36 * invalid if the localization array is deleted.
41 const char * /* O - Localized string */
42 cupsLocalizeDestOption(
43 http_t
*http
, /* I - Connection to destination */
44 cups_dest_t
*dest
, /* I - Destination */
45 cups_dinfo_t
*dinfo
, /* I - Destination information */
46 const char *option
) /* I - Option to localize */
53 * 'cupsLocalizeDestValue()' - Get the localized string for a destination
56 * The returned string is stored in the localization array and will become
57 * invalid if the localization array is deleted.
62 const char * /* O - Localized string */
63 cupsLocalizeDestValue(
64 http_t
*http
, /* I - Connection to destination */
65 cups_dest_t
*dest
, /* I - Destination */
66 cups_dinfo_t
*dinfo
, /* I - Destination information */
67 const char *option
, /* I - Option to localize */
68 const char *value
) /* I - Value to localize */