Current Path: > > usr > include > json-c
Operation : Linux premium107.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| arraylist.h | File | 1557 bytes | March 06 2018 04:18:59. | |
| bits.h | File | 755 bytes | March 06 2018 04:18:59. | |
| debug.h | File | 1724 bytes | March 06 2018 04:18:59. | |
| json.h | File | 810 bytes | March 06 2018 04:18:59. | |
| json_c_version.h | File | 1184 bytes | March 06 2018 04:18:59. | |
| json_config.h | File | 163 bytes | April 18 2022 14:42:41. | |
| json_inttypes.h | File | 350 bytes | March 06 2018 04:18:59. | |
| json_object.h | File | 37992 bytes | March 06 2018 04:18:59. | |
| json_object_iterator.h | File | 8274 bytes | March 06 2018 04:18:59. | |
| json_pointer.h | File | 4832 bytes | March 06 2018 04:18:59. | |
| json_tokener.h | File | 7092 bytes | March 06 2018 04:18:59. | |
| json_util.h | File | 2997 bytes | March 06 2018 04:18:59. | |
| json_visit.h | File | 3181 bytes | March 06 2018 04:18:59. | |
| linkhash.h | File | 11151 bytes | March 06 2018 04:18:59. | |
| printbuf.h | File | 3858 bytes | March 06 2018 04:18:59. |
/*
* $Id: arraylist.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
*
*/
/**
* @file
* @brief Internal methods for working with json_type_array objects.
* Although this is exposed by the json_object_get_array() method,
* it is not recommended for direct use.
*/
#ifndef _arraylist_h_
#define _arraylist_h_
#ifdef __cplusplus
extern "C" {
#endif
#define ARRAY_LIST_DEFAULT_SIZE 32
typedef void (array_list_free_fn) (void *data);
struct array_list
{
void **array;
size_t length;
size_t size;
array_list_free_fn *free_fn;
};
typedef struct array_list array_list;
extern struct array_list*
array_list_new(array_list_free_fn *free_fn);
extern void
array_list_free(struct array_list *al);
extern void*
array_list_get_idx(struct array_list *al, size_t i);
extern int
array_list_put_idx(struct array_list *al, size_t i, void *data);
extern int
array_list_add(struct array_list *al, void *data);
extern size_t
array_list_length(struct array_list *al);
extern void
array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
extern void* array_list_bsearch(const void **key,
struct array_list *arr,
int (*sort_fn)(const void *, const void *));
extern int
array_list_del_idx(struct array_list *arr, size_t idx, size_t count);
#ifdef __cplusplus
}
#endif
#endif
SILENT KILLER Tool