| Server IP : 20.75.53.88 / Your IP : 216.73.217.138 [ Web Server : Apache System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29+esm15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Domains : 3 Domains MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/siac/dev/admin/components/htmldoc-master/htmldoc/ |
Upload File : |
/*
* Sorted array definitions for CUPS.
*
* Copyright 2016 Michael R Sweet
* Copyright 2007-2010 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* This program is free software. Distribution and use rights are outlined in
* the file "COPYING".
*/
#ifndef _CUPS_ARRAY_H_
# define _CUPS_ARRAY_H_
/*
* Include necessary headers...
*/
# include <stdlib.h>
/*
* Stuff that CUPS normally provides...
*/
# ifndef _CUPS_PUBLIC
# define _CUPS_PUBLIC
# define _CUPS_API_1_1_19 _CUPS_PUBLIC
# define _CUPS_API_1_1_20 _CUPS_PUBLIC
# define _CUPS_API_1_1_21 _CUPS_PUBLIC
# define _CUPS_API_1_2 _CUPS_PUBLIC
# define _CUPS_API_1_3 _CUPS_PUBLIC
# define _CUPS_API_1_4 _CUPS_PUBLIC
# define _CUPS_API_1_5 _CUPS_PUBLIC
# define _CUPS_API_1_6 _CUPS_PUBLIC
# define _CUPS_API_1_7 _CUPS_PUBLIC
# define _CUPS_API_2_0 _CUPS_PUBLIC
# define _CUPS_API_2_2 _CUPS_PUBLIC
# define _CUPS_API_2_2_4 _CUPS_PUBLIC
# define _CUPS_API_2_2_7 _CUPS_PUBLIC
# define _CUPS_API_2_3 _CUPS_PUBLIC
# define _CUPS_DEPRECATED _CUPS_PUBLIC
# define _CUPS_DEPRECATED_MSG(m) _CUPS_PUBLIC
# define _CUPS_DEPRECATED_1_2_MSG(m) _CUPS_PUBLIC
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_PUBLIC
# define _CUPS_DEPRECATED_1_7_MSG(m) _CUPS_PUBLIC
# define _CUPS_DEPRECATED_2_2_MSG(m) _CUPS_PUBLIC
# endif // !_CUPS_PUBLIC
/*
* C++ magic...
*/
# ifdef __cplusplus
extern "C" {
# endif /* __cplusplus */
/*
* Types and structures...
*/
typedef struct _cups_array_s cups_array_t;
/**** CUPS array type ****/
typedef int (*cups_array_func_t)(void *first, void *second, void *data);
/**** Array comparison function ****/
typedef int (*cups_ahash_func_t)(void *element, void *data);
/**** Array hash function ****/
typedef void *(*cups_acopy_func_t)(void *element, void *data);
/**** Array element copy function ****/
typedef void (*cups_afree_func_t)(void *element, void *data);
/**** Array element free function ****/
/*
* Functions...
*/
extern int cupsArrayAdd(cups_array_t *a, void *e) _CUPS_API_1_2;
extern void cupsArrayClear(cups_array_t *a) _CUPS_API_1_2;
extern int cupsArrayCount(cups_array_t *a) _CUPS_API_1_2;
extern void *cupsArrayCurrent(cups_array_t *a) _CUPS_API_1_2;
extern void cupsArrayDelete(cups_array_t *a) _CUPS_API_1_2;
extern cups_array_t *cupsArrayDup(cups_array_t *a) _CUPS_API_1_2;
extern void *cupsArrayFind(cups_array_t *a, void *e) _CUPS_API_1_2;
extern void *cupsArrayFirst(cups_array_t *a) _CUPS_API_1_2;
extern int cupsArrayGetIndex(cups_array_t *a) _CUPS_API_1_3;
extern int cupsArrayGetInsert(cups_array_t *a) _CUPS_API_1_3;
extern void *cupsArrayIndex(cups_array_t *a, int n) _CUPS_API_1_2;
extern int cupsArrayInsert(cups_array_t *a, void *e) _CUPS_API_1_2;
extern void *cupsArrayLast(cups_array_t *a) _CUPS_API_1_2;
extern cups_array_t *cupsArrayNew(cups_array_func_t f, void *d) _CUPS_API_1_2;
extern cups_array_t *cupsArrayNew2(cups_array_func_t f, void *d,
cups_ahash_func_t h, int hsize) _CUPS_API_1_3;
extern cups_array_t *cupsArrayNew3(cups_array_func_t f, void *d,
cups_ahash_func_t h, int hsize,
cups_acopy_func_t cf,
cups_afree_func_t ff) _CUPS_API_1_5;
extern void *cupsArrayNext(cups_array_t *a) _CUPS_API_1_2;
extern void *cupsArrayPrev(cups_array_t *a) _CUPS_API_1_2;
extern int cupsArrayRemove(cups_array_t *a, void *e) _CUPS_API_1_2;
extern void *cupsArrayRestore(cups_array_t *a) _CUPS_API_1_2;
extern int cupsArraySave(cups_array_t *a) _CUPS_API_1_2;
extern void *cupsArrayUserData(cups_array_t *a) _CUPS_API_1_2;
# ifdef __cplusplus
}
# endif /* __cplusplus */
#endif /* !_CUPS_ARRAY_H_ */