SILENT KILLERPanel

Current Path: > > usr > include > json-c >


Operation   : Linux premium131.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    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/include/json-c/

NameTypeSizeLast ModifiedActions
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.

Reading File: //usr/include/json-c//debug.h

/*
 * $Id: debug.h,v 1.5 2006/01/30 23:07:57 mclark Exp $
 *
 * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
 * Michael Clark <michael@metaparadigm.com>
 * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
 *
 * 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 Do not use, json-c internal, may be changed or removed at any time.
 */
#ifndef _DEBUG_H_
#define _DEBUG_H_

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

extern void mc_set_debug(int debug);
extern int mc_get_debug(void);

extern void mc_set_syslog(int syslog);

extern void mc_debug(const char *msg, ...);
extern void mc_error(const char *msg, ...);
extern void mc_info(const char *msg, ...);

#ifndef __STRING
#define __STRING(x) #x
#endif

#ifndef PARSER_BROKEN_FIXED

#define JASSERT(cond) do {} while(0)

#else

#define JASSERT(cond) do { \
		if (!(cond)) { \
			mc_error("cjson assert failure %s:%d : cond \"" __STRING(cond) "failed\n", __FILE__, __LINE__); \
			*(int *)0 = 1;\
			abort(); \
		}\
	} while(0)

#endif

#define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__)

#ifdef MC_MAINTAINER_MODE
#define MC_SET_DEBUG(x) mc_set_debug(x)
#define MC_GET_DEBUG() mc_get_debug()
#define MC_SET_SYSLOG(x) mc_set_syslog(x)
#define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__)
#define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__)
#else
#define MC_SET_DEBUG(x) if (0) mc_set_debug(x)
#define MC_GET_DEBUG() (0)
#define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x)
#define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__)
#define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__)
#endif

#ifdef __cplusplus
}
#endif

#endif

SILENT KILLER Tool