• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2016 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef _CUPS_CONFIG_H_
18 #define _CUPS_CONFIG_H_
19 
20 #define CUPS_SVERSION "CUPS v2.2.9"
21 #define CUPS_MINIMAL "CUPS/2.2.9"
22 #define CUPS_DEFAULT_PRINTOPERATOR_AUTH "@SYSTEM"
23 #define CUPS_DEFAULT_LOG_LEVEL "warn"
24 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "dnssd"
25 #define CUPS_DEFAULT_IPP_PORT 631
26 #define CUPS_DEFAULT_DOMAINSOCKET "/private/var/run/cupsd"
27 #define CUPS_DATADIR "/usr/share/cups"
28 #define CUPS_LOCALEDIR "/usr/share/locale"
29 #define CUPS_SERVERBIN "/usr/lib/cups"
30 #define CUPS_SERVERROOT "/etc/cups"
31 #define CUPS_STATEDIR "/var/run/cups"
32 #define HAVE_LIBZ 1
33 #define HAVE_STDINT_H 1
34 #define HAVE_STRING_H 1
35 #define HAVE_STRINGS_H 1
36 #define HAVE_LONG_LONG 1
37 #ifdef HAVE_LONG_LONG
38 #  define CUPS_LLFMT "%lld"
39 #  define CUPS_LLCAST (long long)
40 #else
41 #  define CUPS_LLFMT "%ld"
42 #  define CUPS_LLCAST (long)
43 #endif /* HAVE_LONG_LONG */
44 #define HAVE_STRDUP 1
45 #define HAVE_GETEUID 1
46 #define HAVE_SNPRINTF 1
47 #define HAVE_VSNPRINTF 1
48 #define HAVE_SIGACTION 1
49 #define HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY 1
50 #define HAVE_CSSMERRORSTRING 1
51 #define HAVE_GETADDRINFO 1
52 #define HAVE_GETNAMEINFO 1
53 #define HAVE_HSTRERROR 1
54 #undef HAVE_RES_INIT
55 #define HAVE_RESOLV_H 1
56 #undef HAVE_PTHREAD_H
57 #define CUPS_DEFAULT_GSSSERVICENAME "host"
58 #define HAVE_POLL 1
59 #define CUPS_RAND() random()
60 #define CUPS_SRAND(v) srandom(v)
61 #define HAVE_SSL 1
62 
63 #endif /* !_CUPS_CONFIG_H_ */
64