Philip P. Moltmann | 25aee82 | 2016-12-15 12:16:46 -0800 | [diff] [blame^] | 1 | /* |
| 2 | * Private array definitions for CUPS. |
| 3 | * |
| 4 | * Copyright 2011-2012 by Apple Inc. |
| 5 | * |
| 6 | * These coded instructions, statements, and computer programs are the |
| 7 | * property of Apple Inc. and are protected by Federal copyright |
| 8 | * law. Distribution and use rights are outlined in the file "LICENSE.txt" |
| 9 | * which should have been included with this file. If this file is |
| 10 | * file is missing or damaged, see the license at "http://www.cups.org/". |
| 11 | * |
| 12 | * This file is subject to the Apple OS-Developed Software exception. |
| 13 | */ |
| 14 | |
| 15 | #ifndef _CUPS_ARRAY_PRIVATE_H_ |
| 16 | # define _CUPS_ARRAY_PRIVATE_H_ |
| 17 | |
| 18 | /* |
| 19 | * Include necessary headers... |
| 20 | */ |
| 21 | |
| 22 | # include <cups/array.h> |
| 23 | |
| 24 | |
| 25 | /* |
| 26 | * C++ magic... |
| 27 | */ |
| 28 | |
| 29 | # ifdef __cplusplus |
| 30 | extern "C" { |
| 31 | # endif /* __cplusplus */ |
| 32 | |
| 33 | |
| 34 | /* |
| 35 | * Functions... |
| 36 | */ |
| 37 | |
| 38 | extern int _cupsArrayAddStrings(cups_array_t *a, const char *s, |
| 39 | char delim) _CUPS_API_1_5; |
| 40 | extern cups_array_t *_cupsArrayNewStrings(const char *s, char delim) |
| 41 | _CUPS_API_1_5; |
| 42 | |
| 43 | # ifdef __cplusplus |
| 44 | } |
| 45 | # endif /* __cplusplus */ |
| 46 | #endif /* !_CUPS_ARRAY_PRIVATE_H_ */ |