1 /* 2 * Copyright (C) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 */ 14 /* config.h. Generated from config.h.in by configure. */ 15 16 #ifndef _CUPS_CONFIG_H_ 17 #define _CUPS_CONFIG_H_ 18 19 #define CUPS_SVERSION "CUPS v2.4.0" 20 #define CUPS_MINIMAL "CUPS/2.4.0" 21 #define CUPS_LITE 0 22 #define CUPS_DEFAULT_USER "cups" 23 #define CUPS_DEFAULT_GROUP "cups" 24 #define CUPS_DEFAULT_SYSTEM_GROUPS "print" 25 #define CUPS_DEFAULT_PRINTOPERATOR_AUTH "@cups" 26 #define CUPS_DEFAULT_SYSTEM_AUTHKEY "" 27 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640 28 #define CUPS_DEFAULT_LOG_FILE_PERM 0644 29 #define CUPS_DEFAULT_LOG_LEVEL "debug2" 30 #define CUPS_DEFAULT_ACCESS_LOG_LEVEL "none" 31 #define CUPS_DEFAULT_MAX_LOG_SIZE "1m" 32 #define CUPS_DEFAULT_FATAL_ERRORS "config" 33 #define CUPS_DEFAULT_BROWSING 0 34 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "" 35 #define CUPS_DEFAULT_DEFAULT_SHARED 0 36 #define CUPS_DEFAULT_IPP_PORT 1631 37 #define CUPS_DEFAULT_PRINTCAP "/data/service/el1/public/print_service/cups/printcap" 38 #define CUPS_DEFAULT_ERROR_POLICY "stop-printer" 39 #define CUPS_DEFAULT_MAX_COPIES 9999 40 #define CUPS_DEFAULT_WEBIF 0 41 #define HAVE_POSIX_SPAWN 1 42 #define HAVE_LIBZ 1 43 #define HAVE_INFLATECOPY 1 44 #define HAVE_LIBPAM 0 45 #define HAVE_CRYPT_H 1 46 #define HAVE_STDINT_H 1 47 48 #define HAVE_LONG_LONG 1 49 #define CUPS_LLFMT "%lld" 50 #define CUPS_LLCAST (long long) 51 52 #define HAVE_STRTOLL 1 53 54 #ifndef HAVE_STRTOLL 55 # define strtoll(nptr, endptr, base) strtol((nptr), (endptr), (base)) 56 #endif /* !HAVE_STRTOLL */ 57 58 #define HAVE_STRDUP 1 59 #define HAVE_GETEUID 1 60 #define HAVE_SETPGID 1 61 #define HAVE_SNPRINTF 1 62 #define HAVE_VSNPRINTF 1 63 #define HAVE_SIGACTION 1 64 #define HAVE_WAITPID 1 65 #define HAVE_WAIT3 1 66 #define HAVE_MALLOC_H 1 67 #define HAVE_LANGINFO_H 1 68 #define HAVE_TLS 1 69 #define HAVE_OPENSSL 1 70 #define HAVE_SYS_IOCTL_H 1 71 #define HAVE_TM_GMTOFF 1 72 #define HAVE_RRESVPORT_AF 1 73 #define HAVE_GETADDRINFO 1 74 #define HAVE_GETNAMEINFO 1 75 #define HAVE_GETIFADDRS 1 76 #define HAVE_HSTRERROR 1 77 #define HAVE_RES_INIT 1 78 #define HAVE_RESOLV_H 1 79 #define HAVE_PTHREAD_H 1 80 #define HAVE_ONDEMAND 1 81 #define HAVE_GETGROUPLIST 1 82 #define CUPS_DEFAULT_GSSSERVICENAME "host" 83 #define HAVE_POLL 1 84 #define HAVE_EPOLL 1 85 #define HAVE_SYS_PARAM_H 1 86 87 #ifdef HAVE_ARC4RANDOM 88 # define CUPS_RAND() arc4random() 89 # define CUPS_SRAND(v) arc4random_stir() 90 #else 91 # define CUPS_RAND() rand() 92 # define CUPS_SRAND(v) srand(v) 93 #endif /* HAVE_ARC4RANDOM */ 94 95 #define HAVE_LIBUSB 1 96 #define HAVE_STATFS 1 97 #define HAVE_STATVFS 1 98 #define HAVE_SYS_MOUNT_H 1 99 #define HAVE_SYS_STATFS_H 1 100 #define HAVE_SYS_STATVFS_H 1 101 #define HAVE_SYS_VFS_H 1 102 #define HAVE_SNAPD_CLIENT_RUN_SNAPCTL2_SYNC 1 103 104 #endif /* !_CUPS_CONFIG_H_ */ 105